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: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jan 2004 09:28:57 -0800
Reply-to: rt@xxxxxxxxxxx

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

Arnstein Lindgard wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7278 >
> 
> Included is a gprof profile of the cvs 19-Jan server, running the
> autogame described in doc/HACKING. Endyear is 1731 AD. Compiled with
> -O2 -pg and --enable-debug.
> 
> The first 20 lines:
> 
> Flat profile:
> 
> Each sample counts as 0.01 seconds.
>   %   cumulative   self              self     total           
>  time   seconds   seconds    calls  ms/call  ms/call  name    
>  18.22    128.25   128.25 2445654120     0.00     0.00  normalize_map_pos
>  15.77    239.25   111.00 2365166038     0.00     0.00  is_normal_map_pos

These is_normal_map_pos calls are only made when compiling with DEBUG. 
Compiling without will give a more realistic profile.

jason




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