Commit 925effd0 authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[super property speed] Invert benchmark graphs

The goal is to have one graph per test case, and inside the graph,
4 different lines:
- baseline
- baseline noopt
- super-ic
- super-ic noopt

Bug: v8:9237
Change-Id: I511b5555487a3d96698a3fb648abf76a13f76858
No-Try: True
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2384770Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69618}
parent b5a33eba
This diff is collapsed.
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Megamorphic-Mixin-Getter', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Megamorphic-Mixin-Getter', false, false, DETERMINISTIC_RUNS, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS,
runBenchmark) runBenchmark)
]); ]);
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Megamorphic-Mixin', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Megamorphic-Mixin', false, false, DETERMINISTIC_RUNS, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS,
runBenchmark) runBenchmark)
]); ]);
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Monomorphic-Getter', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Monomorphic-Getter', false, false, DETERMINISTIC_RUNS, runBenchmark) new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS, runBenchmark)
]); ]);
class A { class A {
......
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Monomorphic-MegaReceivers-Getter', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Monomorphic-MegaReceivers-Getter', false, false, DETERMINISTIC_RUNS, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS, runBenchmark)
runBenchmark)
]); ]);
class A { class A {
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Monomorphic-MegaReceivers', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Monomorphic-MegaReceivers', false, false, DETERMINISTIC_RUNS, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS,
runBenchmark) runBenchmark)
]); ]);
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Monomorphic', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Monomorphic', false, false, DETERMINISTIC_RUNS, runBenchmark) new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS, runBenchmark)
]); ]);
class A { }; class A { };
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Polymorphic-Mixin-Getter', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Polymorphic-Mixin-Getter', false, false, DETERMINISTIC_RUNS, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS,
runBenchmark) runBenchmark)
]); ]);
......
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Polymorphic-Mixin-MegaReceivers-Getter', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Polymorphic-Mixin-MegaReceivers-Getter', false, false, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS, runBenchmark)
DETERMINISTIC_RUNS, runBenchmark)
]); ]);
......
...@@ -3,12 +3,10 @@ ...@@ -3,12 +3,10 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Polymorphic-Mixin-MegaReceivers', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Polymorphic-Mixin-MegaReceivers', false, false, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS, runBenchmark)
DETERMINISTIC_RUNS, runBenchmark)
]); ]);
function createSubclass() { function createSubclass() {
class A { }; class A { };
A.prototype.super_prop = 10; A.prototype.super_prop = 10;
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
const DETERMINISTIC_RUNS = 10000; const DETERMINISTIC_RUNS = 10000;
new BenchmarkSuite('Polymorphic-Mixin', [1000], [ new BenchmarkSuite(BENCHMARK_NAME, [1000], [
new Benchmark('Polymorphic-Mixin', false, false, DETERMINISTIC_RUNS, new Benchmark(BENCHMARK_NAME, false, false, DETERMINISTIC_RUNS,
runBenchmark) runBenchmark)
]); ]);
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
// found in the LICENSE file. // found in the LICENSE file.
load('../base.js'); load('../base.js');
BENCHMARK_NAME = arguments[1];
load(arguments[0] + '.js'); load(arguments[0] + '.js');
var success = true; var success = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment