Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Measuring server frame time?
Measuring server frame time? [message #492071] Thu, 09 March 2017 15:19 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma:
General (4 Stars)
How would you go about measuring server frame time? Considering sfps is a shit measure for server lag.

Now for calculating server frame time recording pairing 'current frame number' and ('current time in milliseconds' - 'last time in milliseconds') ought to work right.

But how could I measure all the issues caused by Observers/Scripts and hooks and plugins? Do i need to use assembly hooking? I'd like to be able to record the lag caused by having all the extra script and logic running. I know I can modify the Dragonade source code for some of it, but there are also things I can't measure when just modifying the Dragonade source code.

I'm pretty sure Dragonade contains some slowdowns when the server is running for some time, for example on Rencorner you can see the sfps drop from 100 to 97 after server is running for a while. This causes infantry to suffer. It looks like just a 3 SFPS drop but it's averaged over a second so it's probably a very long pause.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Thu, 09 March 2017 15:32]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *wip* renegade coop
Next Topic: Where does the server or client do the always.dat version check?
Goto Forum:
  


Current Time: Sun Apr 28 19:03:56 MST 2024

Total time taken to generate the page: 0.00758 seconds