88df7dcaf4
Add a simple benchmark for a TypedArray constructor. Run once with the default pipeline and once with turbofan so that we can compare the performance. Also fixes a typo in the Regex for the result of the CopyWithin benchmark which stopped the results showing up in the perf dashboard. BUG= Change-Id: Ic2eb0bd1e02b458c1163e97130abd0e7531c2e1c Reviewed-on: https://chromium-review.googlesource.com/440225 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#43087}
304 lines
8.0 KiB
JSON
304 lines
8.0 KiB
JSON
{
|
|
"name": "JSTests",
|
|
"run_count": 3,
|
|
"run_count_arm": 1,
|
|
"run_count_arm64": 1,
|
|
"timeout": 120,
|
|
"units": "score",
|
|
"total": true,
|
|
"resources": ["base.js"],
|
|
"tests": [
|
|
{
|
|
"name": "AsyncAwait",
|
|
"path": ["AsyncAwait"],
|
|
"main": "run.js",
|
|
"resources": [
|
|
"native.js",
|
|
"baseline-babel-es2017.js",
|
|
"baseline-naive-promises.js"
|
|
],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"results_regexp": "^%s\\-AsyncAwait\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "BaselineES2017"},
|
|
{"name": "BaselineNaivePromises"},
|
|
{"name": "Native"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Generators",
|
|
"path": ["Generators"],
|
|
"main": "run.js",
|
|
"resources": ["generators.js"],
|
|
"flags": ["--harmony-function-sent"],
|
|
"results_regexp": "^Generators\\-Generators\\(Score\\): (.+)$"
|
|
},
|
|
{
|
|
"name": "GeneratorsIgnition",
|
|
"path": ["Generators"],
|
|
"main": "run.js",
|
|
"resources": ["generators.js"],
|
|
"flags": [
|
|
"--harmony-function-sent",
|
|
"--ignition"
|
|
],
|
|
"results_regexp": "^Generators\\-Generators\\(Score\\): (.+)$"
|
|
},
|
|
{
|
|
"name": "GeneratorsIgnitionTurbofan",
|
|
"path": ["Generators"],
|
|
"main": "run.js",
|
|
"resources": ["generators.js"],
|
|
"flags": [
|
|
"--harmony-function-sent",
|
|
"--ignition",
|
|
"--turbo",
|
|
"--turbo-from-bytecode"
|
|
],
|
|
"results_regexp": "^Generators\\-Generators\\(Score\\): (.+)$"
|
|
},
|
|
{
|
|
"name": "RestParameters",
|
|
"path": ["RestParameters"],
|
|
"main": "run.js",
|
|
"resources": ["rest.js"],
|
|
"units": "score",
|
|
"results_regexp": "^%s\\-RestParameters\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Basic1"}
|
|
]
|
|
},
|
|
{
|
|
"name": "SpreadCalls",
|
|
"path": ["SpreadCalls"],
|
|
"main": "run.js",
|
|
"resources": ["spreadcalls.js"],
|
|
"units": "score",
|
|
"results_regexp": "^%s\\-SpreadCalls\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Call"},
|
|
{"name": "CallMethod"},
|
|
{"name": "CallNew"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Classes",
|
|
"path": ["Classes"],
|
|
"main": "run.js",
|
|
"resources": ["super.js", "default-constructor.js"],
|
|
"results_regexp": "^%s\\-Classes\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Super"},
|
|
{"name": "DefaultConstructor"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Closures",
|
|
"path": ["Closures"],
|
|
"main": "run.js",
|
|
"resources": ["closures.js"],
|
|
"flags": [],
|
|
"results_regexp": "^%s\\-Closures\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Closures"}
|
|
]
|
|
},
|
|
{
|
|
"name": "ClosuresMarkForTierUp",
|
|
"path": ["Closures"],
|
|
"main": "run.js",
|
|
"resources": ["closures.js"],
|
|
"flags": ["--mark_shared_functions_for_tier_up"],
|
|
"results_regexp": "^%s\\-Closures\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Closures"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Collections",
|
|
"path": ["Collections"],
|
|
"main": "run.js",
|
|
"resources": [
|
|
"common.js",
|
|
"map.js",
|
|
"run.js",
|
|
"set.js",
|
|
"weakmap.js",
|
|
"weakset.js"
|
|
],
|
|
"results_regexp": "^%s\\-Collections\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Map-Smi"},
|
|
{"name": "Map-String"},
|
|
{"name": "Map-Object"},
|
|
{"name": "Map-Iteration"},
|
|
{"name": "Set-Smi"},
|
|
{"name": "Set-String"},
|
|
{"name": "Set-Object"},
|
|
{"name": "Set-Iteration"},
|
|
{"name": "WeakMap"},
|
|
{"name": "WeakSet"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Iterators",
|
|
"path": ["Iterators"],
|
|
"main": "run.js",
|
|
"resources": ["forof.js"],
|
|
"results_regexp": "^%s\\-Iterators\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "ForOf"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Strings",
|
|
"path": ["Strings"],
|
|
"main": "run.js",
|
|
"resources": ["harmony-string.js"],
|
|
"results_regexp": "^%s\\-Strings\\(Score\\): (.+)$",
|
|
"run_count": 1,
|
|
"timeout": 240,
|
|
"timeout_arm": 420,
|
|
"tests": [
|
|
{"name": "StringFunctions"}
|
|
]
|
|
},
|
|
{
|
|
"name": "StringIterators",
|
|
"path": ["StringIterators"],
|
|
"main": "run.js",
|
|
"resources": ["string-iterator.js"],
|
|
"results_regexp": "^%s\\-StringIterators\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Spread_OneByteShort"},
|
|
{"name": "Spread_TwoByteShort"},
|
|
{"name": "Spread_WithSurrogatePairsShort"},
|
|
{"name": "ForOf_OneByteShort"},
|
|
{"name": "ForOf_TwoByteShort"},
|
|
{"name": "ForOf_WithSurrogatePairsShort"},
|
|
{"name": "ForOf_OneByteLong"},
|
|
{"name": "ForOf_TwoByteLong"},
|
|
{"name": "ForOf_WithSurrogatePairsLong"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Templates",
|
|
"path": ["Templates"],
|
|
"main": "run.js",
|
|
"resources": ["templates.js"],
|
|
"units": "score",
|
|
"results_regexp": "^%s\\-Templates\\(Score\\): (.+)$",
|
|
"total": true,
|
|
"tests": [
|
|
{"name": "Untagged"},
|
|
{"name": "LargeUntagged"},
|
|
{"name": "Tagged"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Object",
|
|
"path": ["Object"],
|
|
"main": "run.js",
|
|
"flags": ["--harmony"],
|
|
"resources": [
|
|
"assign.js",
|
|
"create.js",
|
|
"entries.js",
|
|
"values.js"
|
|
],
|
|
"results_regexp": "^%s\\-Object\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Assign"},
|
|
{"name": "Create"},
|
|
{"name": "Entries"},
|
|
{"name": "EntriesMegamorphic"},
|
|
{"name": "Values"},
|
|
{"name": "ValuesMegamorphic"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Scope",
|
|
"path": ["Scope"],
|
|
"main": "run.js",
|
|
"resources": ["with.js"],
|
|
"results_regexp": "^%s\\-Scope\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "With"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Exceptions",
|
|
"path": ["Exceptions"],
|
|
"main": "run.js",
|
|
"resources": ["try-catch.js"],
|
|
"results_regexp": "^%s\\-Exceptions\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Try-Catch"}
|
|
]
|
|
},
|
|
{
|
|
"name": "Keys",
|
|
"path": ["Keys"],
|
|
"main": "run.js",
|
|
"resources": ["keys.js"],
|
|
"results_regexp": "^%s\\-Keys\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Object.keys()"},
|
|
{"name": "for-in"},
|
|
{"name": "for-in hasOwnProperty()"},
|
|
{"name": "for (i < Object.keys().length)"},
|
|
{"name": "Object.keys().forEach()"},
|
|
{"name": "for (i < array.length)"},
|
|
{"name": "for (i < length)"}
|
|
]
|
|
},
|
|
{
|
|
"name": "PropertyQueries",
|
|
"path": ["PropertyQueries"],
|
|
"main": "run.js",
|
|
"resources": ["property-queries.js"],
|
|
"results_regexp": "^%s\\-PropertyQueries\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "in--INTERN-prop"},
|
|
{"name": "in--DEINTERN-prop"},
|
|
{"name": "in--NE-INTERN-prop"},
|
|
{"name": "in--NE-DEINTERN-prop"},
|
|
{"name": "in--el"},
|
|
{"name": "in--el-str"},
|
|
{"name": "in--NE-el"},
|
|
{"name": "Object.hasOwnProperty--INTERN-prop"},
|
|
{"name": "Object.hasOwnProperty--DEINTERN-prop"},
|
|
{"name": "Object.hasOwnProperty--NE-INTERN-prop"},
|
|
{"name": "Object.hasOwnProperty--NE-DEINTERN-prop"},
|
|
{"name": "Object.hasOwnProperty--el"},
|
|
{"name": "Object.hasOwnProperty--el-str"},
|
|
{"name": "Object.hasOwnProperty--NE-el"}
|
|
]
|
|
},
|
|
{
|
|
"name": "TypedArrays",
|
|
"path": ["TypedArrays"],
|
|
"results_regexp": "^TypedArrays\\-%s\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{
|
|
"name": "CopyWithin",
|
|
"main": "run.js",
|
|
"test_flags": ["typedarrays"]
|
|
},
|
|
{
|
|
"name": "Constructor",
|
|
"main": "run.js",
|
|
"test_flags": ["constructor"]
|
|
},
|
|
{
|
|
"name": "Constructor--Future",
|
|
"flags": ["--future"],
|
|
"results_regexp": "^TypedArrays\\-Constructor\\(Score\\): (.+)$",
|
|
"main": "run.js",
|
|
"test_flags": ["constructor"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|