Ejemplo n.º 1
0
        private static void RunBenchmarks()
        {
            new ListBenchmarks().Run(EzChartForm.StartOnNewThread(true));

            Benchmarks.ConvexHull();

            // Obtain the word list
            string wordList = Resources.WordList;

            string[] words = wordList.Split(new string[] { "\n", "\r\n" },
                                            StringSplitOptions.RemoveEmptyEntries);

            Benchmarks.LinqVsForLoop();
            //Benchmarks.CountOnes();
            Benchmarks.BenchmarkSets(words);
            Benchmarks.ThreadLocalStorage();
            Benchmarks.EnumeratorVsIterator();
            GoInterfaceBenchmark.DoBenchmark();
            CPTrieBenchmark.BenchmarkStrings(words);
            CPTrieBenchmark.BenchmarkInts();
            Benchmarks.ByteArrayAccess();
        }