v8/test/js-perf-test/SixSpeed.json
franzih f31e80548c [test] Add array destructuring micro-benchmarks.
Add array pattern destructuring micro-benchmarks. These benchmarks compare
a naive ES5 immplementation to an ES6-style implementation that uses
destructuring.

Adapted from http://kpdecker.github.io/six-speed

BUG=v8:5267

Review-Url: https://codereview.chromium.org/2513273002
Cr-Commit-Position: refs/heads/master@{#41126}
2016-11-20 20:07:47 +00:00

56 lines
1.2 KiB
JSON

{
"name": "SixSpeed",
"run_count": 3,
"run_count_arm": 1,
"run_count_arm64": 1,
"timeout": 120,
"units": "score",
"total": true,
"resources": ["base.js"],
"tests": [
{
"name": "Array pattern destructuring",
"path": ["SixSpeed/array_destructuring"],
"main": "run.js",
"resources": [
"run.js",
"array_destructuring.js"
],
"results_regexp": "^%s\\(Score\\): (.+)$",
"tests": [
{"name": "ArrayDestructuring-ES5"},
{"name": "ArrayDestructuring-ES6"}
]
},
{
"name": "Computed property names in object literals",
"path": ["SixSpeed/object_literals"],
"main": "run.js",
"resources": [
"run.js",
"object_literals.js"
],
"results_regexp": "^%s\\(Score\\): (.+)$",
"tests": [
{"name": "ObjectLiterals-ES5"},
{"name": "ObjectLiterals-ES6"}
]
},
{
"name": "Spread",
"path": ["SixSpeed/spread"],
"main": "run.js",
"resources": [
"run.js",
"spread.js"
],
"results_regexp": "^%s\\(Score\\): (.+)$",
"tests": [
{"name": "Spread-ES5"},
{"name": "Spread-Traceur"},
{"name": "Spread-ES6"}
]
}
]
}