Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: test/js-perf-test/SixSpeed/super_spread/es5.js

Issue 2669223002: [Test] Reconfigure SuperSpread benchmarks to run in separate processes. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This benchmark is based on the six-speed benchmark build output.
6 // Copyright 2014 Kevin Decker <https://github.com/kpdecker/six-speed/>
7
8 load('../../base.js');
9
10 new BenchmarkSuite('ES5', [1000], [
11 new Benchmark('ES5', false, false, 0, ES5),
12 ]);
13
14 function Point(x, y) {
15 this.x = x;
16 this.y = y;
17 }
18
19 function MyPoint() {
20 Point.apply(this, arguments);
21 }
22
23 function makePoint(x, y) {
24 return new MyPoint(x, y);
25 }
26
27 function ES5() {
28 'use strict';
29 return makePoint(1, 2);
30 }
31
32 load('run.js');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698