Opened 6 years ago

Last modified 6 years ago

#5126 new enhancement

Replay profiler should track entity count

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Non-game systems Keywords:
Cc: Patch:

Description

A common cause for "simulation lag" is having just too many entities around.

This can occur when players set a too high population count (typcially > 8*150), a too large mapsize or on trigger maps that spawn more and more gaia units over time.

Specifically in some matches on these trigger script maps, gaia units get killed off, while in other matches gaia units accumulate unhinderedly.

So it would be great to see the pure amount of entity units in the simulation replay graphs.

If we also add a way to display pure counts of things, we could also display the number of requested paths per turn.

(The html part of the replay graph in a23 has a dropdown to chose time/nr of garbage collections/allocated memory, so such counts could be added easily)

Change History (1)

comment:1 by Stan, 6 years ago

I was thinking to reduce the decay time because units spend too much time underground currently. Current value in template_unit.xml is current 80 and it could be less than 40 I think. That would also reduce the blood bath the game currently is.

Note: See TracTickets for help on using tickets.