Ejemplo n.º 1
0
        static void RunPerformanceTests()
        {
            var test = new PerformanceTests();

            Console.WriteLine("Running 500 iterations that load up a post entity");
            test.Run(500);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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
        }