OLD | NEW |
1 // This file is automatically generated by scheme2js, except for the | 1 // This file is automatically generated by scheme2js, except for the |
2 // benchmark harness code at the beginning and end of the file. | 2 // benchmark harness code at the beginning and end of the file. |
3 | 3 |
4 var EarleyBoyer = new BenchmarkSuite('EarleyBoyer', 280581, [ | 4 var EarleyBoyer = new BenchmarkSuite('EarleyBoyer', 666463, [ |
5 new Benchmark("Earley", function () { BgL_earleyzd2benchmarkzd2(); }), | 5 new Benchmark("Earley", function () { BgL_earleyzd2benchmarkzd2(); }), |
6 new Benchmark("Boyer", function () { BgL_nboyerzd2benchmarkzd2(); }) | 6 new Benchmark("Boyer", function () { BgL_nboyerzd2benchmarkzd2(); }) |
7 ]); | 7 ]); |
8 | 8 |
9 | 9 |
10 /************* GENERATED FILE - DO NOT EDIT *************/ | 10 /************* GENERATED FILE - DO NOT EDIT *************/ |
11 /************* GENERATED FILE - DO NOT EDIT *************/ | 11 /************* GENERATED FILE - DO NOT EDIT *************/ |
12 /************* GENERATED FILE - DO NOT EDIT *************/ | 12 /************* GENERATED FILE - DO NOT EDIT *************/ |
13 /************* GENERATED FILE - DO NOT EDIT *************/ | 13 /************* GENERATED FILE - DO NOT EDIT *************/ |
14 /************* GENERATED FILE - DO NOT EDIT *************/ | 14 /************* GENERATED FILE - DO NOT EDIT *************/ |
(...skipping 4660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4675 function RunBenchmark(name, count, run, warn) { | 4675 function RunBenchmark(name, count, run, warn) { |
4676 for (var n = 0; n < count; ++n) { | 4676 for (var n = 0; n < count; ++n) { |
4677 result = run(); | 4677 result = run(); |
4678 if (!warn(result)) { | 4678 if (!warn(result)) { |
4679 throw new Error("Earley or Boyer did incorrect number of rewrites"); | 4679 throw new Error("Earley or Boyer did incorrect number of rewrites"); |
4680 } | 4680 } |
4681 } | 4681 } |
4682 } | 4682 } |
4683 | 4683 |
4684 var BgL_runzd2benchmarkzd2 = RunBenchmark; | 4684 var BgL_runzd2benchmarkzd2 = RunBenchmark; |
OLD | NEW |