v8/test/js-perf-test/JSTests1.json
Nico Hartmann cff862c036 [js-perf-tests] Adds performance tests for BigInt subtraction
BigInt performance benchmarks are restructured in JSTest1.json
in such a way that it is easier to run meaningful subsets of
BigInt test cases.

Bug: v8:9213
Change-Id: Ibf94bfb0f14cf8afa890927d97f920659e8b28d0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1872390
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64468}
2019-10-22 13:32:09 +00:00

330 lines
10 KiB
JSON

{
"owners": ["jarin@chromium.org", "mvstanton@chromium.org"],
"name": "JSTests",
"run_count": 3,
"run_count_arm": 1,
"run_count_arm64": 1,
"timeout": 120,
"timeout_arm64": 240,
"units": "score",
"total": true,
"resources": ["base.js"],
"tests": [
{
"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-Object-Set-Get-Large"},
{"name": "Map-Double"},
{"name": "Map-Iteration"},
{"name": "Map-Iterator"},
{"name": "Set-Smi"},
{"name": "Set-String"},
{"name": "Set-Object"},
{"name": "Set-Double"},
{"name": "Set-Iteration"},
{"name": "Set-Iterator"},
{"name": "WeakMap"},
{"name": "WeakMap-Constructor"},
{"name": "WeakMapSetGet-Large"},
{"name": "WeakMapSet-Huge"},
{"name": "WeakSet"},
{"name": "WeakSet-Constructor"}
]
},
{
"name": "BigInt",
"path": ["BigInt"],
"tests": [
{
"name": "ToBoolean",
"main": "run.js",
"resources": ["to-boolean.js"],
"test_flags": ["to-boolean"],
"results_regexp": "^BigInt\\-%s\\(Score\\): (.+)$",
"tests": [
{ "name": "ToBoolean" },
{ "name": "BooleanConstructor" },
{ "name": "NewBooleanConstructor" }
]
},
{
"name": "Add",
"main": "run.js",
"resources": ["add.js", "bigint-util.js"],
"test_flags": ["add"],
"results_regexp": "^BigInt\\-%s\\(Score\\): (.+)$",
"tests": [
{ "name": "Add-TypeError" },
{ "name": "Add-Zero" },
{ "name": "Add-SameSign-32" },
{ "name": "Add-DifferentSign-32" },
{ "name": "Add-SameSign-64" },
{ "name": "Add-DifferentSign-64" },
{ "name": "Add-SameSign-128" },
{ "name": "Add-DifferentSign-128" },
{ "name": "Add-SameSign-256" },
{ "name": "Add-DifferentSign-256" },
{ "name": "Add-SameSign-512" },
{ "name": "Add-DifferentSign-512" },
{ "name": "Add-SameSign-1024" },
{ "name": "Add-DifferentSign-1024" },
{ "name": "Add-SameSign-2048" },
{ "name": "Add-DifferentSign-2048" },
{ "name": "Add-SameSign-4096" },
{ "name": "Add-DifferentSign-4096" },
{ "name": "Add-SameSign-8192" },
{ "name": "Add-DifferentSign-8192" },
{ "name": "Add-Random" }
]
},
{
"name": "Subtract",
"main": "run.js",
"resources": ["subtract.js", "bigint-util.js"],
"test_flags": ["subtract"],
"results_regexp": "^BigInt\\-%s\\(Score\\): (.+)$",
"tests": [
{ "name": "Subtract-TypeError" },
{ "name": "Subtract-Zero" },
{ "name": "Subtract-SameSign-32" },
{ "name": "Subtract-DifferentSign-32" },
{ "name": "Subtract-SameSign-64" },
{ "name": "Subtract-DifferentSign-64" },
{ "name": "Subtract-SameSign-128" },
{ "name": "Subtract-DifferentSign-128" },
{ "name": "Subtract-SameSign-256" },
{ "name": "Subtract-DifferentSign-256" },
{ "name": "Subtract-SameSign-512" },
{ "name": "Subtract-DifferentSign-512" },
{ "name": "Subtract-SameSign-1024" },
{ "name": "Subtract-DifferentSign-1024" },
{ "name": "Subtract-SameSign-2048" },
{ "name": "Subtract-DifferentSign-2048" },
{ "name": "Subtract-SameSign-4096" },
{ "name": "Subtract-DifferentSign-4096" },
{ "name": "Subtract-SameSign-8192" },
{ "name": "Subtract-DifferentSign-8192" },
{ "name": "Subtract-Random" }
]
},
{
"name": "AsUintN",
"main": "run.js",
"resources": ["as-uint-n.js", "bigint-util.js"],
"test_flags": ["as-uint-n"],
"results_regexp": "^BigInt\\-%s\\(Score\\): (.+)$",
"tests": [
{ "name": "AsUint64-32" },
{ "name": "AsUint64-64" },
{ "name": "AsUint64-128" },
{ "name": "AsUint64-256" },
{ "name": "AsUint32-32" },
{ "name": "AsUint32-64" },
{ "name": "AsUint32-128" },
{ "name": "AsUint32-256" },
{ "name": "AsUint8-32" },
{ "name": "AsUint8-64" },
{ "name": "AsUint8-128" },
{ "name": "AsUint8-256" }
]
}
]
},
{
"name": "BigInt-Jitless",
"path": ["BigInt"],
"main": "run.js",
"resources": [
"to-boolean.js"
],
"flags": ["--jitless"],
"results_regexp": "^BigInt\\-%s\\(Score\\): (.+)$",
"test_flags": ["to-boolean"],
"tests": [
{ "name": "ToBoolean" },
{ "name": "BooleanConstructor" },
{ "name": "NewBooleanConstructor" }
]
},
{
"name": "TypedArrays",
"path": ["TypedArrays"],
"results_regexp": "^TypedArrays\\-%s\\(Score\\): (.+)$",
"tests": [
{
"name": "CopyWithin",
"main": "run.js",
"resources": ["copywithin.js"],
"test_flags": ["copywithin"]
},
{
"name": "Constructor",
"main": "run.js",
"resources": ["constructor.js"],
"test_flags": ["constructor"]
},
{
"name": "ConstructWithBuffer",
"main": "run.js",
"resources": ["construct-buffer.js"],
"test_flags": ["construct-buffer"]
},
{
"name": "ConstructArrayLike",
"main": "run.js",
"resources": ["construct-arraylike.js"],
"test_flags": ["construct-arraylike"]
},
{
"name": "ConstructByTypedArray",
"main": "run.js",
"resources": ["construct-typedarray.js"],
"test_flags": ["construct-typedarray"]
},
{
"name": "ConstructBySameTypedArray",
"main": "run.js",
"resources": ["construct-same-typedarray.js"],
"test_flags": ["construct-same-typedarray"]
},
{
"name": "ConstructAllTypedArrays",
"main": "run.js",
"resources": ["construct-all-typedarrays.js"],
"test_flags": ["construct-all-typedarrays"]
},
{
"name": "FilterNoSpecies",
"main": "run.js",
"resources": ["filter-nospecies.js"],
"test_flags": ["filter-nospecies"],
"results_regexp": "^TypedArrays\\-%s\\(Score\\): (.+)$",
"tests": [
{"name": "Uint8Array"},
{"name": "Uint16Array"},
{"name": "Uint32Array"},
{"name": "Float32Array"},
{"name": "Float64Array"}
]
},
{
"name": "JoinBigIntTypes",
"main": "run.js",
"resources": ["base.js", "join.js", "join-bigint.js"],
"test_flags": ["join-bigint"]
},
{
"name": "JoinFloatTypes",
"main": "run.js",
"resources": ["base.js", "join.js", "join-float.js"],
"test_flags": ["join-float"]
},
{
"name": "JoinIntTypes",
"main": "run.js",
"resources": ["base.js", "join.js", "join-int.js"],
"test_flags": ["join-int"]
},
{
"name": "JoinWithSeparatorBigIntTypes",
"main": "run.js",
"resources": ["base.js", "join.js", "join-sep-bigint.js"],
"test_flags": ["join-sep-bigint"]
},
{
"name": "JoinWithSeparatorFloatTypes",
"main": "run.js",
"resources": ["base.js", "join.js", "join-sep-float.js"],
"test_flags": ["join-sep-float"]
},
{
"name": "JoinWithSeparatorIntTypes",
"main": "run.js",
"resources": ["base.js", "join.js", "join-sep-int.js"],
"test_flags": ["join-sep-int"]
},
{
"name": "SetFromArrayLike",
"main": "run.js",
"resources": ["set-from-arraylike.js"],
"test_flags": ["set-from-arraylike"]
},
{
"name": "SetFromDifferentType",
"main": "run.js",
"resources": ["set-from-different-type.js"],
"test_flags": ["set-from-different-type"]
},
{
"name": "SetFromSameType",
"main": "run.js",
"resources": ["set-from-same-type.js"],
"test_flags": ["set-from-same-type"]
},
{
"name": "SliceNoSpecies",
"main": "run.js",
"resources": ["slice-nospecies.js"],
"test_flags": ["slice-nospecies"]
},
{
"name": "SortIntTypes",
"main": "run.js",
"resources": ["base.js", "sort.js", "sort-int.js"],
"test_flags": ["sort-int"]
},
{
"name": "SortBigIntTypes",
"main": "run.js",
"resources": ["base.js", "sort.js", "sort-bigint.js"],
"test_flags": ["sort-bigint"]
},
{
"name": "SortFloatTypes",
"main": "run.js",
"resources": ["base.js", "sort.js", "sort-float.js"],
"test_flags": ["sort-float"]
},
{
"name": "SortCustomCompareFnIntTypes",
"main": "run.js",
"resources": ["base.js", "sort.js", "sort-cmpfn-int.js"],
"test_flags": ["sort-cmpfn-int"]
},
{
"name": "SortCustomCompareFnBigIntTypes",
"main": "run.js",
"resources": ["base.js", "sort.js", "sort-cmpfn-bigint.js"],
"test_flags": ["sort-cmpfn-bigint"]
},
{
"name": "SortCustomCompareFnFloatTypes",
"main": "run.js",
"resources": ["base.js", "sort.js", "sort-cmpfn-float.js"],
"test_flags": ["sort-cmpfn-float"]
},
{
"name": "SubarrayNoSpecies",
"main": "run.js",
"resources": ["subarray-nospecies.js"],
"test_flags": ["subarray-nospecies"]
}
]
}
]
}