Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7278) Profile of current cvs server
Home

[Freeciv-Dev] Re: (PR#7278) Profile of current cvs server

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: a-l@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7278) Profile of current cvs server
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 21 Jan 2004 08:37:57 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7278 >

On Wed, 21 Jan 2004, Arnstein Lindgard wrote:
> Flat profile:
>
> Each sample counts as 0.01 seconds.
> %   cumulative   self              self     total
>  time seconds   seconds    calls  ms/call  ms/call  name
>  10.24   39.70    39.70   128057     0.31     0.48  really_generate_warmap
> 5.13     59.57    19.87 565654258     0.00     0.00  map_get_tile
> 3.19     71.93    12.36 207203968     0.00   0.00  base_city_map_to_map

Don't look to hard on this table. As the rest of the profile no doubt will
show you, it is certain AI functions which consumes CPU power in the
server. A very large number of very small improvements is much less useful
than a few well-placed optimizations of key algorithms.

  - Per




[Prev in Thread] Current Thread [Next in Thread]