示例#1
0
        static void Main(string[] args)
        {
            System.Threading.Thread.CurrentThread.Priority =
                System.Threading.ThreadPriority.Highest;

            var basePath = new DirectoryInfo(GetExecutableDirectory()).Parent.Parent.FullName;

            #if !DISABLE_QUESTIONS
            if (ReadYesOrNo("Run SunSpider 0.9.1 benchmark, yes/no? "))
            {
            #endif
                TestSuite sunSpider = new SunSpiderTestSuite(basePath);
                sunSpider.Run();
            #if !DISABLE_QUESTIONS
            }
            #endif

            #if !DISABLE_QUESTIONS
            if (ReadYesOrNo("Run V8 Benchmark v6, yes/no? "))
            {
            #endif
                TestSuite v8Benchmark = new V8BenchMarkTestSuite(basePath);
                v8Benchmark.Run();

            #if !DISABLE_QUESTIONS
            }
            #endif

            #if !DISABLE_QUESTIONS
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
            #endif
        }
示例#2
0
        static void Main(string[] args)
        {
            System.Threading.Thread.CurrentThread.Priority =
                System.Threading.ThreadPriority.Highest;

            var basePath = new DirectoryInfo(GetExecutableDirectory()).Parent.Parent.FullName;

#if !DISABLE_QUESTIONS
            if (ReadYesOrNo("Run SunSpider 0.9.1 benchmark, yes/no? "))
            {
#endif
            TestSuite sunSpider = new SunSpiderTestSuite(basePath);
            sunSpider.Run();
#if !DISABLE_QUESTIONS
        }
#endif

#if !DISABLE_QUESTIONS
            if (ReadYesOrNo("Run V8 Benchmark v6, yes/no? "))
            {
#endif
            TestSuite v8Benchmark = new V8BenchMarkTestSuite(basePath);
            v8Benchmark.Run();

#if !DISABLE_QUESTIONS
        }
#endif

#if !DISABLE_QUESTIONS
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
#endif
        }
示例#3
0
        static void Main(string[] args)
        {
            System.Threading.Thread.CurrentThread.Priority =
                System.Threading.ThreadPriority.Highest;

            var basePath = new DirectoryInfo(GetExecutableDirectory()).Parent.Parent.FullName;

            TestSuite sunSpider = new SunSpiderTestSuite(basePath);
            sunSpider.Run();

            Console.WriteLine("Press any key to continue...");
            Console.ReadKey(true);
        }