Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12790) the game is so slow!
Home

[Freeciv-Dev] Re: (PR#12790) the game is so slow!

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12790) the game is so slow!
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 14 Apr 2005 07:40:35 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12790 >

On Wed, 13 Apr 2005, Jason Short wrote:
> In the savegame (attached separately) it takes about 30 seconds to load.
> This is basically an early-game savegame: 300 BC.  Note the civ2
> ruleset is used.
>
> According to oprofile, pf_next is 20% of the runtime.

Before you go running to those fancy tools, try our built-in profiling
first ;)

> debug info
2: players=6 cities=106 citizens=209 units=135
> debug timing
2:   --- AI timing results ---
2:   Total AI time: 0 sec turn, 0 sec game
2:   Movemap: 8,95 sec turn, 8,95 sec game
2:   Units: 0 sec turn, 0 sec game
2:    - Military: 0 sec turn, 0 sec game
2:    - Attack: 0 sec turn, 0 sec game
2:    - Defense: 0 sec turn, 0 sec game
2:    - Ferry: 0 sec turn, 0 sec game
2:    - Rampage: 0 sec turn, 0 sec game
2:    - Bodyguard: 0 sec turn, 0 sec game
2:    - Recover: 0 sec turn, 0 sec game
2:    - Caravan: 0 sec turn, 0 sec game
2:    - Hunter: 0 sec turn, 0 sec game
2:    - Airlift: 0 sec turn, 0 sec game
2:    - Diplomat: 0 sec turn, 0 sec game
2:    - Air: 0 sec turn, 0 sec game
2:    - Explore: 0 sec turn, 0 sec game
2:   fstk: 0 sec turn, 0 sec game
2:   Settlers: 0 sec turn, 0 sec game
2:   Workers: 0 sec turn, 0 sec game
2:   Government: 0,29 sec turn, 0,29 sec game
2:   Taxes: 0 sec turn, 0 sec game
2:   Cities: 0 sec turn, 0 sec game
2:    - Buildings: 0 sec turn, 0 sec game
2:    - Danger: 0 sec turn, 0 sec game
2:    - Worker want: 0 sec turn, 0 sec game
2:    - Military want: 0 sec turn, 0 sec game
2:    - Settler want: 0 sec turn, 0 sec game
2:   Citizen arrange: 0,28 sec turn, 0,28 sec game
2:   Tech: 0 sec turn, 0 sec game

As I said before, we need to do something about the movemap. Total run
time was 0m9.650s when I just loaded, started and quit immediately.

  - Per





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