public bool IsBenchmarkEnabled(string test)
        {
            if (BenchmarkTests == null)
            {
                return(true);
            }

            return(BenchmarkTests.Contains(test.ToLower()));
        }
示例#2
0
        static void Main(string[] args)
        {
#if DEBUG
            var test = new BenchmarkTests();
            test.Setup();
            test.LoadImageControl().Wait();
            Task.Delay(5000).Wait();
            test.Cleanup();
#else
            var summary = BenchmarkRunner.Run <BenchmarkTests>();
#endif
        }
示例#3
0
 public static void Main(string[] args)
 {
     BenchmarkTests.RunAndOutput();
 }
示例#4
0
 static void Main(string[] args)
 {
     var test = new BenchmarkTests();
     test.GetValueTests();
 }
示例#5
0
        static void Main(string[] args)
        {
            var test = new BenchmarkTests();

            test.GetValueTests();
        }