CRNfix Engine Version: better replay performance
Moderator: Moderators
Re: CRNfix Engine Version: better late game performance
What if he lost the source?
Re: CRNfix Engine Version: better late game performance
then his fork would be even more a waste of everyone's time.
Re: CRNfix Engine Version: better late game performance
interesting approach, how much time is probably connected that everyone together wasted by laggames? maybe a lifetime or even more?
Re: CRNfix Engine Version: better late game performance
Stop playing 8vs8 dsd lol
- FabriceFABS
- Posts: 354
- Joined: 28 Jul 2010, 16:20
Re: CRNfix Engine Version: better late game performance
Not only.
Also *MAP*Metal games, and *MOD*Chiken games...
Also *MAP*Metal games, and *MOD*Chiken games...
Re: CRNfix Engine Version: better late game performance
We can sit here to the end of times hearing about the so called 300% performance increase, if theres no source theres also no real credible tests to rely upon. And especially with a GPL violation on it.
Anyways i think the devs are working on a improved threaded release for Spring so hopefully we can get pass this and actually move on.
Anyways i think the devs are working on a improved threaded release for Spring so hopefully we can get pass this and actually move on.
Re: CRNfix Engine Version: better late game performance
Pfft I am going on with my life, steadily making recent advances.
Re: CRNfix Engine Version: better late game performance
blabla ignoring zerver blabla
back to topic!
Did some visual profiling and wrote a grapher that shows how Spring spends time:
You see that `Frame Grapher` which displays the last half second and its time slices:
MUCH better already (it likely solves 90% micro lagging in ZK, but it won't solve the ones in BA what spends much less time in GC even in 96!).
When you take a close look at the simframes you notice that there is a semi huge gap after each of it, those range from 1ms upto ~50ms (maybe something SDL or NetCode related) and are very likely one cause of microlags (additional to uneven simframe length, but that's another topic).
Atm I don't know what Spring is doing in those gaps yet, needs further investigation.
back to topic!
Did some visual profiling and wrote a grapher that shows how Spring spends time:
You see that `Frame Grapher` which displays the last half second and its time slices:
- green are video frames
- red are simframes
- blue is swapBuffer (gpu/vsync)
- pink is lua gc
MUCH better already (it likely solves 90% micro lagging in ZK, but it won't solve the ones in BA what spends much less time in GC even in 96!).
When you take a close look at the simframes you notice that there is a semi huge gap after each of it, those range from 1ms upto ~50ms (maybe something SDL or NetCode related) and are very likely one cause of microlags (additional to uneven simframe length, but that's another topic).
Atm I don't know what Spring is doing in those gaps yet, needs further investigation.
- Attachments
-
- after.jpg
- (167.34 KiB) Downloaded 1 time
-
- before.jpg
- (180.02 KiB) Downloaded 1 time
Last edited by jK on 05 Feb 2014, 13:10, edited 1 time in total.
Re: CRNfix Engine Version: better late game performance
Nice post, pretty informative. Is information how people can do this kind of visual profiling available? It seems pretty useful.
Re: CRNfix Engine Version: better late game performance
Excellent work, jK!
BAR uses more lua, especially more luaui, so it will definitely be a boon there.
BAR uses more lua, especially more luaui, so it will definitely be a boon there.
Re: CRNfix Engine Version: better late game performance
k seems to be multiple stuff in CGame::UpdateUnsynced that accumulates every now and then to peaks. Need to find the biggest of those now and why they relate to simframe updates.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: CRNfix Engine Version: better late game performance
Nice! Is that going to be the default view with /debug in 97.0?
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: CRNfix Engine Version: better late game performance
I like that visualisation and the GC tweak sounds great.
Re: CRNfix Engine Version: better late game performance
+1 for this visualisation