Rename and fix JSON data for ArrayLiteralInitialSpread benchmarks.

This fixes the wrong JSON data that was not updated by CL 1188572.

Change-Id: I8cf1a040fa7faa95b967f8dc995b8222304f5514
Reviewed-on: https://chromium-review.googlesource.com/1193244
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Hai Dang <dhai@google.com>
Cr-Commit-Position: refs/heads/master@{#55447}
This commit is contained in:
Hai Dang 2018-08-28 11:57:57 +02:00 committed by Commit Bot
parent 3d8121f7c1
commit 601831a9ab
3 changed files with 68 additions and 41 deletions

View File

@ -125,7 +125,7 @@ load('../base.js');
var success = true;
function PrintResult(name, result) {
print(name + '-ArrayLiteralInitialSpreadLarge(Score): ' + result);
print(name + '-ArrayLiteralInitialSpreadLargePacked(Score): ' + result);
}
function PrintError(name, error) {

View File

@ -126,7 +126,7 @@ load('../base.js');
var success = true;
function PrintResult(name, result) {
print(name + '-ArrayLiteralInitialSpreadSmall(Score): ' + result);
print(name + '-ArrayLiteralInitialSpreadSmallPacked(Score): ' + result);
}
function PrintError(name, error) {

View File

@ -60,48 +60,75 @@
"results_regexp": "^Generators\\-Generators\\(Score\\): (.+)$"
},
{
"name": "ArrayLiteralInitialSpread",
"path": ["ArrayLiteralInitialSpread"],
"name": "ArrayLiteralInitialSpreadSmallPacked",
"path": ["ArrayLiteralInitialSpreadSmallPacked"],
"main": "run.js",
"resources": [],
"results_regexp": "^%s\\-ArrayLiteralInitialSpread\\(Score\\): (.+)$",
"results_regexp": "^%s\\-ArrayLiteralInitialSpreadSmallPacked\\(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": "Spread"},
{"name": "ForLength"},
{"name": "ForLengthEmpty"},
{"name": "Slice"},
{"name": "Slice0"},
{"name": "ConcatReceive"},
{"name": "ConcatArg"},
{"name": "ForOfPush"},
{"name": "MapId"}
]
},
{
"name": "ArrayLiteralInitialSpreadLargePacked",
"path": ["ArrayLiteralInitialSpreadLargePacked"],
"main": "run.js",
"resources": [],
"results_regexp": "^%s\\-ArrayLiteralInitialSpreadLargePacked\\(Score\\): (.+)$",
"tests": [
{"name": "Spread"},
{"name": "ForLength"},
{"name": "ForLengthEmpty"},
{"name": "Slice"},
{"name": "Slice0"},
{"name": "ConcatReceive"},
{"name": "ConcatArg"},
{"name": "ForOfPush"},
{"name": "MapId"}
]
},
{
"name": "ArrayLiteralInitialSpreadSmallHoley",
"path": ["ArrayLiteralInitialSpreadSmallHoley"],
"main": "run.js",
"resources": [],
"results_regexp": "^%s\\-ArrayLiteralInitialSpreadSmallHoley\\(Score\\): (.+)$",
"tests": [
{"name": "Spread"},
{"name": "ForLength"},
{"name": "ForLengthEmpty"},
{"name": "Slice"},
{"name": "Slice0"},
{"name": "ConcatReceive"},
{"name": "ConcatArg"},
{"name": "ForOfPush"},
{"name": "MapId"}
]
},
{
"name": "ArrayLiteralInitialSpreadLargeHoley",
"path": ["ArrayLiteralInitialSpreadLargeHoley"],
"main": "run.js",
"resources": [],
"results_regexp": "^%s\\-ArrayLiteralInitialSpreadLargeHoley\\(Score\\): (.+)$",
"tests": [
{"name": "Spread"},
{"name": "ForLength"},
{"name": "ForLengthEmpty"},
{"name": "Slice"},
{"name": "Slice0"},
{"name": "ConcatReceive"},
{"name": "ConcatArg"},
{"name": "ForOfPush"},
{"name": "MapId"}
]
},
{