Commit 66ffd1ba authored by Hai Dang's avatar Hai Dang Committed by Commit Bot

Add benchmarks for comparing spread literal with copying schemes for arrays

Bug: v8:7973
Change-Id: I76308296dd45ef797d1eafd6e2736ccefb54302d
Reviewed-on: https://chromium-review.googlesource.com/1162222Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Hai Dang <dhai@google.com>
Cr-Commit-Position: refs/heads/master@{#54924}
parent c55edb44
This diff is collapsed.
...@@ -59,6 +59,51 @@ ...@@ -59,6 +59,51 @@
"resources": ["generators.js"], "resources": ["generators.js"],
"results_regexp": "^Generators\\-Generators\\(Score\\): (.+)$" "results_regexp": "^Generators\\-Generators\\(Score\\): (.+)$"
}, },
{
"name": "ArrayLiteralInitialSpread",
"path": ["ArrayLiteralInitialSpread"],
"main": "run.js",
"resources": [],
"results_regexp": "^%s\\-ArrayLiteralInitialSpread\\(Score\\): (.+)$",
"tests": [
{"name": "Spread-Small"},
{"name": "ForLength-Small"},
{"name": "ForLengthEmpty-Small"},
{"name": "Slice-Small"},
{"name": "Slice0-Small"},
{"name": "ConcatReceive-Small"},
{"name": "ConcatArg-Small"},
{"name": "ForOfPush-Small"},
{"name": "MapId-Small"},
{"name": "Spread-Large"},
{"name": "ForLength-Large"},
{"name": "ForLengthEmpty-Large"},
{"name": "Slice-Large"},
{"name": "Slice0-Large"},
{"name": "ConcatReceive-Large"},
{"name": "ConcatArg-Large"},
{"name": "ForOfPush-Large"},
{"name": "MapId-Large"},
{"name": "Spread-SmallHoley"},
{"name": "ForLength-SmallHoley"},
{"name": "ForLengthEmpty-SmallHoley"},
{"name": "Slice-SmallHoley"},
{"name": "Slice0-SmallHoley"},
{"name": "ConcatReceive-SmallHoley"},
{"name": "ConcatArg-SmallHoley"},
{"name": "ForOfPush-SmallHoley"},
{"name": "MapId-SmallHoley"},
{"name": "Spread-LargeHoley"},
{"name": "ForLength-LargeHoley"},
{"name": "ForLengthEmpty-LargeHoley"},
{"name": "Slice-LargeHoley"},
{"name": "Slice0-LargeHoley"},
{"name": "ConcatReceive-LargeHoley"},
{"name": "ConcatArg-LargeHoley"},
{"name": "ForOfPush-LargeHoley"},
{"name": "MapId-LargeHoley"}
]
},
{ {
"name": "ArrayLiteralSpread", "name": "ArrayLiteralSpread",
"path": ["ArrayLiteralSpread"], "path": ["ArrayLiteralSpread"],
......
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