Performance track
Posted: 12 May 2013, 15:10
Hi, following the thread:
http://springrts.com/phpbb/viewtopic.php?f=1&t=30372
I did some performance tracking on Spring.
I replayed a DeltaSiegeDry 8v8 that I had watched on Friday (absolutely Epic, by the way).
At 3 times, I Paused the replay and took notes of FPS.
I took note of FPS while completely zomed out, and completely zoomed in in the middle of the map showing zero units. Also, with luaui disable'd and luaui reload'ed.
0:00 (immediatly after game start, which was the first opportunity to pause)
ZoomOut / Lua -> 80
ZoomOut / NoLua -> 230
ZoomIn / Lua -> 90
ZoomIn / NoLua -> 180
1:31 (quite some units)
ZoomOut / Lua -> 75
ZoomOut / NoLua -> 175
ZoomIn / Lua -> 95
ZoomIn / NoLua -> 180
9:00 (plenty of units)
ZoomOut / Lua -> 50 (50 paused, ~20 with the game running)
ZoomOut / NoLua -> 83
ZoomIn / Lua -> 70
ZoomIn / NoLua -> 145
F11, widget exclusions
At 9:00, I kept the game paused and zoomed out, loaded luaui, and pressed F11. Then I tried removing/adding again most of the widgets. These are the FPS differences I could perceive upon disabling widgets.
Adv Play List: 53->61
Build Bar: +2(???)
Building Hotkeys: -2 (as in actually slower with it disabled, although 2 is unreliable)
Context Building: +4(?)
Custom Icons: +4(?)
Pause Screen: slowdown of some 10 FPS upon activation only
Red Tooltip: -5 (as in slower with it disabled...)
Conclusions
Couldn't track single widget perf differences that ammount for the difference in luaui tracked at 9:00 (from 50 to 83). When I tried removing *all* widgets, perf came back to ~80 which probably means that the luaui being [re]"load"[ed] but not actually running any widgets does not account for much or nothing at all, and that there's probably a substantial slowdown created with some widget interactions (a bitch to track down).
The greatest slowdown may actually be the engine running. I got good FPSs with the game paused but quite far with it running.
Game runs pretty much slower with luaui widgets activated (yeah, I know, pretty hard to guess).
With no luaui, with a lot of units the game slowed down from 230 to 83, while with luaui it only slowed down from 80 to 50.
With plenty of units (9:00), paused, with luaui disabled and not showing any units on the screen (zoomed in), the game still delivered less FPS (145 instead of 180).
http://springrts.com/phpbb/viewtopic.php?f=1&t=30372
I did some performance tracking on Spring.
I replayed a DeltaSiegeDry 8v8 that I had watched on Friday (absolutely Epic, by the way).
At 3 times, I Paused the replay and took notes of FPS.
I took note of FPS while completely zomed out, and completely zoomed in in the middle of the map showing zero units. Also, with luaui disable'd and luaui reload'ed.
0:00 (immediatly after game start, which was the first opportunity to pause)
ZoomOut / Lua -> 80
ZoomOut / NoLua -> 230
ZoomIn / Lua -> 90
ZoomIn / NoLua -> 180
1:31 (quite some units)
ZoomOut / Lua -> 75
ZoomOut / NoLua -> 175
ZoomIn / Lua -> 95
ZoomIn / NoLua -> 180
9:00 (plenty of units)
ZoomOut / Lua -> 50 (50 paused, ~20 with the game running)
ZoomOut / NoLua -> 83
ZoomIn / Lua -> 70
ZoomIn / NoLua -> 145
F11, widget exclusions
At 9:00, I kept the game paused and zoomed out, loaded luaui, and pressed F11. Then I tried removing/adding again most of the widgets. These are the FPS differences I could perceive upon disabling widgets.
Adv Play List: 53->61
Build Bar: +2(???)
Building Hotkeys: -2 (as in actually slower with it disabled, although 2 is unreliable)
Context Building: +4(?)
Custom Icons: +4(?)
Pause Screen: slowdown of some 10 FPS upon activation only
Red Tooltip: -5 (as in slower with it disabled...)
Conclusions
Couldn't track single widget perf differences that ammount for the difference in luaui tracked at 9:00 (from 50 to 83). When I tried removing *all* widgets, perf came back to ~80 which probably means that the luaui being [re]"load"[ed] but not actually running any widgets does not account for much or nothing at all, and that there's probably a substantial slowdown created with some widget interactions (a bitch to track down).
The greatest slowdown may actually be the engine running. I got good FPSs with the game paused but quite far with it running.
Game runs pretty much slower with luaui widgets activated (yeah, I know, pretty hard to guess).
With no luaui, with a lot of units the game slowed down from 230 to 83, while with luaui it only slowed down from 80 to 50.
With plenty of units (9:00), paused, with luaui disabled and not showing any units on the screen (zoomed in), the game still delivered less FPS (145 instead of 180).