Changeset 223956 in webkit
- Timestamp:
- Oct 25, 2017 9:58:57 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/ChangeLog
r223733 r223956 1 2017-10-25 Robin Morisset <rmorisset@apple.com> 2 3 Support the TailBench9000 benchmark in run-jsc-benchmarks 4 https://bugs.webkit.org/show_bug.cgi?id=178451 5 6 Reviewed by Saam Barati. 7 8 The separation between the definition of the benchmarks (in merge-sort.js and n-body.js) and their loops (in *-run.js) 9 was causing trouble since the load of the js files only succeeded from the same directory. So I chose to merge them, following 10 the example of the other benchmarks. 11 12 * TailBench9000/merge-sort-run.js: Removed. 13 * TailBench9000/merge-sort.js: 14 * TailBench9000/n-body-run.js: Removed. 15 * TailBench9000/n-body.js: 16 1 17 2017-10-19 Michael Catanzaro <mcatanzaro@igalia.com> 2 18 -
trunk/PerformanceTests/TailBench9000/merge-sort.js
r221685 r223956 153 153 test(0); 154 154 } 155 156 for (var i = 0; i < 3000; ++i) 157 TEST_mergeSort(); -
trunk/PerformanceTests/TailBench9000/n-body.js
r221685 r223956 236 236 throw "ERROR: bad result: expected " + expected + " but got " + ret; 237 237 } 238 239 for (var i = 0; i < 300; ++i) 240 TEST_nBody(); -
trunk/Tools/ChangeLog
r223953 r223956 1 2017-10-25 Robin Morisset <rmorisset@apple.com> 2 3 Support the TailBench9000 benchmark in run-jsc-benchmarks 4 https://bugs.webkit.org/show_bug.cgi?id=178451 5 6 Reviewed by Saam Barati. 7 8 * Scripts/run-jsc-benchmarks: 9 1 10 2017-10-25 Adrian Perez de Castro <aperez@igalia.com> 2 11 -
trunk/Tools/Scripts/run-jsc-benchmarks
r217124 r223956 49 49 LONGSPIDER_PATH = PERFORMANCETESTS_PATH + "LongSpider" 50 50 V8_PATH = PERFORMANCETESTS_PATH + "SunSpider" + "tests" + "v8-v6" 51 TAILBENCH_PATH = PERFORMANCETESTS_PATH + "TailBench9000" 51 52 MICROBENCHMARKS_PATH = OPENSOURCE_PATH + "JSTests" + "microbenchmarks" 52 53 OCTANE_WRAPPER_PATH = PERFORMANCETESTS_PATH + "Octane" + "wrappers" … … 227 228 $includeCompressionBench = true 228 229 $includeSixSpeed = true 230 $includeTailBench = true 229 231 $measureGC=false 230 232 $benchmarkPattern=nil … … 318 320 puts "--browsermark-dom Only run browsermark-dom." 319 321 puts "--octane Only run Octane." 322 puts "--tail-bench Only run TailBench" 320 323 puts "--compression-bench Only run compression bench" 321 324 puts " The default is to run all benchmarks. The above options can" … … 1625 1628 end 1626 1629 1630 class TailBenchBenchmark 1631 include Benchmark 1632 1633 def initialize(name) 1634 @name = name 1635 end 1636 1637 def emitRunCode(plan) 1638 emitBenchRunCode(fullname, plan, SingleFileTimedBenchmarkParameters.new(ensureFile("TailBench-#{@name}", "#{TAILBENCH_PATH}/#{@name}.js"))) 1639 end 1640 end 1641 1627 1642 class MicrobenchmarksBenchmark 1628 1643 include Benchmark … … 2672 2687 $includeCompressionBench = false 2673 2688 $includeSixSpeed = false 2689 $includeTailBench = false; 2674 2690 $sawBenchOptions = true 2675 2691 end … … 2697 2713 ['--compression-bench', GetoptLong::NO_ARGUMENT], 2698 2714 ['--six-speed', GetoptLong::NO_ARGUMENT], 2715 ['--tail-bench', GetoptLong::NO_ARGUMENT], 2699 2716 ['--benchmarks', GetoptLong::REQUIRED_ARGUMENT], 2700 2717 ['--measure-gc', GetoptLong::OPTIONAL_ARGUMENT], … … 2776 2793 resetBenchOptionsIfNecessary 2777 2794 $includeJSBench = true 2795 when '--tail-bench' 2796 resetBenchOptionsIfNecessary 2797 $includeTailBench = true 2778 2798 when '--microbenchmarks' 2779 2799 resetBenchOptionsIfNecessary … … 3016 3036 JSBENCH.add JSBenchBenchmark.new(*nameAndMode) 3017 3037 } 3018 3038 3039 TAILBENCH = BenchmarkSuite.new("TailBench", :geometricMean, 0) 3040 ["n-body", "merge-sort"].each { 3041 | name | 3042 TAILBENCH.add TailBenchBenchmark.new(name); 3043 } 3044 3019 3045 MICROBENCHMARKS = BenchmarkSuite.new("Microbenchmarks", :geometricMean, 0) 3020 3046 Dir.foreach(MICROBENCHMARKS_PATH) { … … 3155 3181 end 3156 3182 3183 if $includeTailBench and not TAILBENCH.empty? 3184 $suites << TAILBENCH 3185 end 3186 3157 3187 if $includeMicrobenchmarks and not MICROBENCHMARKS.empty? 3158 3188 $suites << MICROBENCHMARKS 3159 3189 end 3160 3190 3161 3191 if $includeAsmBench and not ASMBENCH.empty? 3162 3192 if ASMBENCH_PATH
Note: See TracChangeset
for help on using the changeset viewer.