Add another benchmark entry and correct one

This commit is contained in:
Flamefire committed 2014-09-24 19:15:04 +02:00
1 parent bb146b66a3
commit 2ba5f9ee7f
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -373,9 +373,9 @@ namespace Vocaluxe.Base
if (CConfig.CoverLoading == ECoverLoading.TR_CONFIG_COVERLOADING_ATSTART)
{
CLog.StartBenchmark("Load Covers/Notes");
CLog.StartBenchmark("Load Covers");
_LoadCover();
CLog.StopBenchmark("Load Covers/Notes");
CLog.StopBenchmark("Load Covers");
}
CLog.StopBenchmark("Load Songs ");
}
+2 -2
View File
@@ -81,7 +81,7 @@ namespace Vocaluxe
{
// Init Log
CLog.Init();
CLog.StartBenchmark("Init Program");
if (!CProgrammHelper.CheckRequirements())
return;
CProgrammHelper.Init();
@@ -235,6 +235,7 @@ namespace Vocaluxe
//Only reasonable point to call GC.Collect() because initialization may cause lots of garbage
//Rely on GC doing its job afterwards and call Dispose methods where appropriate
GC.Collect();
CLog.StopBenchmark("Init Program");
}
catch (Exception e)
{
@@ -250,7 +251,6 @@ namespace Vocaluxe
// Start Main Loop
if (_SplashScreen != null)
_SplashScreen.Close();
CVocaluxeServer.Start();
CDraw.MainLoop();
}