branchrust_reboot/main/hackweek_fps_loggingcancel

8 Commits over 61 Days - 0.01cph!

12 Days Ago
Merge from main, resolve conflict in FPSLogger caused by 123804
12 Days Ago
- Fixed ObjectDisposedException error when calling StopLogging. - Changed to using DontDestoryOnLoad() to ensure the logger is not destroyed and data is not lost when joining/leaving a server. - Can now call StopLogging during the countdown to cancel it. _ Removed timestamp from the logger as well as the "ms " after each data entry.
45 Days Ago
Code refactor: - Changed to using string interpolation instead of concatenation. - Use StreamWriter instead of File.appendAllText. - Moved string creation process from LateUpdate to StopLogging to reduce GC. - Call StopLogging in OnDestory().
54 Days Ago
Added Ping to the performance logging
54 Days Ago
Tracking more client performance data: - Draw Calls, Cull Jobs, Scripts, Update, Late Update, Fixed Update, Physics, Precull, Render
58 Days Ago
- Added logging for the Heap, Stack and GC (more to come) - Data is no longer written to the file every frame inside update(). Instead its being saved into a list and written into the file when stoplogging() is called.
2 Months Ago
Added a 5 second countdown so the logging doesnt start straight away. Changed the file directory path the CSV file is saved too. It should now be saved in "Steam\steamapps\common\Rust\Diagnostics".
2 Months Ago
Can now log client FPS to a file using fps.startlogging. Use fps.stoplogging to stop the logging, it will logged into a file.