static void RunPerformanceTests() { var test = new PerformanceTests(); Console.WriteLine("Running 500 iterations that load up a post entity"); test.Run(500); }
static void RunPerformanceTests() { var test = new PerformanceTests(); const int iterations = 500; Console.WriteLine("Running {0} iterations that load up a post entity", iterations); test.Run(iterations); }
static void RunPerformanceTests() { #if PERF var test = new PerformanceTests(); const int iterations = 500; Console.WriteLine("Running {0} iterations that load up a post entity", iterations); test.Run(iterations); #else Console.WriteLine("Performance tests have not been built; add the PERF symbol"); #endif }