Added a command to show server perfomence (ShowServerPerf)

Removed unwanted PhysicsTask that was accideltally readded via revert action
Removed a parallel operation for SE.UpdateAll and ME.UpdateAll.
Cancelled roll back for ServerEntityEventManager
This commit is contained in:
NotAlwaysTrue
2025-12-22 16:57:58 +08:00
parent 9c2f300325
commit 70a039da83
4 changed files with 121 additions and 66 deletions
@@ -135,9 +135,7 @@ namespace Barotrauma
}
if (TotalTimeElapsed - 60000 >= tickrate60stimer)
{
#if !DEBUG
GameServer.Log(PM.ToString(), ServerLog.MessageType.ServerMessage);
#endif
TickRateLow = 60;
TickRateHigh = 60;
tickrate60stimer = TotalTimeElapsed;
@@ -159,10 +157,7 @@ namespace Barotrauma
}
override public string ToString()
{
return
#if !DEBUG
$"Server Performence Info \n" +
#endif
return $"Server Performence Info \n" +
$"Item Count: {ItemCount}\n" +
$"Character Count: {CharacterCount}\n" +
$"PhysicsBody Count: {PhysicsBodyCount}\n" +