Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Profiles from huge game
Home

[Freeciv-Dev] Profiles from huge game

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Sebastian Bauer <sebauer@xxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Profiles from huge game
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Sep 2001 14:36:15 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

Taking the huge savegame from
<http://www.freeciv.org/cgi-bin/bugs/wishlist?id=104;page=1;user=guest>
I created some profiles
<ftp://ftp.freeciv.org/freeciv/incoming/profiles_from_huge_game.tar.gz>. The
first one "server_loading_profile" is from just loading the savegame:

 time   seconds   seconds    calls  ms/call  ms/call  name
 81.85     12.58    12.58   424931     0.03     0.03  internal_lookup
  1.82     12.86     0.28   392427     0.00     0.00  hash_fval_string
  1.04     13.02     0.16  2397748     0.00     0.00  assert_sanity
  0.91     13.16     0.14  1610904     0.00     0.00  have_line

To get a profile of the client I had to increase some timeouts. The
server:

 time   seconds   seconds    calls  ms/call  ms/call  name
 17.65     72.07    72.07     5137    14.03    23.44  really_generate_warmap
 11.46    118.86    46.79 374052419     0.00     0.00  map_get_terrain
  6.62    145.89    27.03 328454543     0.00     0.00  map_get_tile
  5.68    169.10    23.21  7894104     0.00     0.01  road_bonus
  4.84    188.88    19.78 116994851     0.00     0.00  map_get_city
  3.07    201.41    12.53   748219     0.02     0.02  internal_lookup

The client:

 time   seconds   seconds    calls  us/call  us/call  name
 30.79      2.79     2.79     1337  2086.76  3175.42  update_all_effects
  7.95      3.51     0.72  1595230     0.45     0.57  fill_ranges_improv_lists
  6.07      4.06     0.55   320937     1.71     5.25  fill_tile_sprite_array
  5.08      4.52     0.46  2957889     0.16     0.29  get_drawn_char
  4.30      4.91     0.39  3524832     0.11     0.11  map_get_terrain
  3.64      5.24     0.33   797205     0.41     0.99  improvement_redundant

Sebastian, can you put a hand on this?

        Raimar

--
 email: rf13@xxxxxxxxxxxxxxxxx
 "> WHY?! Isn't it better to put $(shell cat cscope.files) on the list of
  I only have a yellow belt in makefile kungfu.  These fancy gnu make things
  are relatively new to some of us..."
    -- Mark Frazer to Vassilii Khachaturov in linux-kernel


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