gut perf logging - only record expensive ticks. perf.log is small enough to be useful now.

This commit is contained in:
Paul Chote
2010-09-06 15:29:34 +12:00
parent 06e8b530ea
commit 598fe9f956
4 changed files with 3 additions and 38 deletions

View File

@@ -49,9 +49,7 @@ namespace OpenRA
viewport = new Viewport(new float2(Renderer.Resolution), map.TopLeft, map.BottomRight, Renderer);
world = null; // trying to access the old world will NRE, rather than silently doing it wrong.
Timer.Time("viewport: {0}");
world = new World(modData.Manifest, map);
Timer.Time("world: {0}");
}
public static void MoveViewport(int2 loc)