Commit 27b1c823 authored by dslomov@chromium.org's avatar dslomov@chromium.org

Share test framework between js-perf-tests.

Also small reformat in Iterators/forof.js

R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/662723006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7cf9d1c8
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
load('base.js');
load('../base.js');
load('map.js');
load('set.js');
load('weakmap.js');
......
This diff is collapsed.
......@@ -3,12 +3,18 @@
// found in the LICENSE file.
new BenchmarkSuite('ForOf', [1000], [
new Benchmark('ArrayValues', false, false, 0, ForOf, ForOfArraySetup, ForOfTearDown),
new Benchmark('ArrayKeys', false, false, 0, ForOf, ForOfArrayKeysSetup, ForOfTearDown),
new Benchmark('ArrayEntries', false, false, 0, ForOf, ForOfArrayEntriesSetup, ForOfTearDown),
new Benchmark('Uint8Array', false, false, 0, ForOf, ForOfUint8ArraySetup, ForOfTearDown),
new Benchmark('Float64Array', false, false, 0, ForOf, ForOfFloat64ArraySetup, ForOfTearDown),
new Benchmark('String', false, false, 0, ForOf, ForOfStringSetup, ForOfTearDown),
new Benchmark('ArrayValues', false, false, 0,
ForOf, ForOfArraySetup, ForOfTearDown),
new Benchmark('ArrayKeys', false, false, 0,
ForOf, ForOfArrayKeysSetup, ForOfTearDown),
new Benchmark('ArrayEntries', false, false, 0,
ForOf, ForOfArrayEntriesSetup, ForOfTearDown),
new Benchmark('Uint8Array', false, false, 0,
ForOf, ForOfUint8ArraySetup, ForOfTearDown),
new Benchmark('Float64Array', false, false, 0,
ForOf, ForOfFloat64ArraySetup, ForOfTearDown),
new Benchmark('String', false, false, 0,
ForOf, ForOfStringSetup, ForOfTearDown),
]);
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
load('base.js');
load('../base.js');
load('forof.js');
......
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