Add more perf measurements

This commit is contained in:
Pavlos Touboulidis
2014-04-23 03:43:46 +03:00
parent c44d73d581
commit 2d8cd8299f
3 changed files with 15 additions and 6 deletions

View File

@@ -251,8 +251,11 @@ namespace OpenRA
{
map = modData.PrepareMap(mapUID);
}
orderManager.world = new World(modData.Manifest, map, orderManager, isShellmap);
orderManager.world.Timestep = Timestep;
using (new PerfTimer("NewWorld"))
{
orderManager.world = new World(modData.Manifest, map, orderManager, isShellmap);
orderManager.world.Timestep = Timestep;
}
worldRenderer = new WorldRenderer(orderManager.world);
using (new PerfTimer("LoadComplete"))
{