From 2ba5f9ee7f72d80fbc2aa4e332637814bc8ec3a6 Mon Sep 17 00:00:00 2001 From: Flamefire Date: Wed, 24 Sep 2014 19:15:04 +0200 Subject: [PATCH] Add another benchmark entry and correct one --- Vocaluxe/Base/CSongs.cs | 4 ++-- Vocaluxe/Program.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Vocaluxe/Base/CSongs.cs b/Vocaluxe/Base/CSongs.cs index 2bf74681..4cce7856 100644 --- a/Vocaluxe/Base/CSongs.cs +++ b/Vocaluxe/Base/CSongs.cs @@ -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 "); } diff --git a/Vocaluxe/Program.cs b/Vocaluxe/Program.cs index b4720e87..a21bac8d 100644 --- a/Vocaluxe/Program.cs +++ b/Vocaluxe/Program.cs @@ -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(); }