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:
@@ -2769,6 +2769,12 @@ namespace Barotrauma
|
||||
}
|
||||
);
|
||||
|
||||
commands.Add(new Command("ShowServerPerf", "Immediately log server performance info in ServerMessage", (string[] args) =>
|
||||
{
|
||||
GameServer.Log(PerformenceMonitor.PM.ToString(), ServerLog.MessageType.ServerMessage);
|
||||
NewMessage(PerformenceMonitor.PM.ToString(), Color.Green);
|
||||
}));
|
||||
|
||||
#if DEBUG
|
||||
commands.Add(new Command("spamevents", "A debug command that creates a ton of entity events.", (string[] args) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user