Profile sync report generation separately.
This commit is contained in:
@@ -187,7 +187,8 @@ namespace OpenRA.Network
|
||||
Connection.SendSync(NetFrameNumber, OrderIO.SerializeSync(World.SyncHash()));
|
||||
|
||||
if (generateSyncReport)
|
||||
syncReport.UpdateSyncReport();
|
||||
using (new PerfSample("sync_report"))
|
||||
syncReport.UpdateSyncReport();
|
||||
|
||||
++NetFrameNumber;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user