2021-08-12 17:39:57 +00:00
|
|
|
{
|
|
|
|
"owners": ["caitp@igalia.com", "joyee@igalia.com"],
|
|
|
|
"name": "ClassFields",
|
|
|
|
"run_count": 3,
|
|
|
|
"run_count_arm": 1,
|
|
|
|
"run_count_arm64": 1,
|
|
|
|
"timeout": 120,
|
|
|
|
"timeout_arm64": 240,
|
|
|
|
"units": "score",
|
|
|
|
"total": true,
|
|
|
|
"resources": ["base.js"],
|
2021-11-02 03:24:35 +00:00
|
|
|
"flags": ["--allow-natives-syntax"],
|
2021-08-12 17:39:57 +00:00
|
|
|
"tests": [
|
|
|
|
{
|
2021-11-02 03:24:35 +00:00
|
|
|
"name": "EvaluateClassOpt",
|
|
|
|
"path": ["ClassFields"],
|
|
|
|
"test_flags": [ "evaluate-class", "opt" ],
|
|
|
|
"main": "run.js",
|
2021-08-19 16:16:22 +00:00
|
|
|
"results_regexp": "^%s\\-ClassFields\\(Score\\): (.+)$",
|
2021-11-02 03:24:35 +00:00
|
|
|
"resources": ["classes.js", "evaluate-class.js"],
|
2021-08-19 16:16:22 +00:00
|
|
|
"tests": [
|
2021-11-02 03:24:35 +00:00
|
|
|
{"name": "EvaluateSinglePublicFieldClassOpt"},
|
|
|
|
{"name": "EvaluateMultiPublicFieldClassOpt"},
|
|
|
|
{"name": "EvaluateSinglePrivateFieldClassOpt"},
|
|
|
|
{"name": "EvaluateMultiPrivateFieldClassOpt"},
|
|
|
|
{"name": "EvaluateSingleComputedFieldClassOpt"},
|
|
|
|
{"name": "EvaluateMultiComputedFieldClassOpt"}
|
2021-08-19 16:16:22 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-11-02 03:24:35 +00:00
|
|
|
"name": "EvaluateClassNoOpt",
|
|
|
|
"path": ["ClassFields"],
|
|
|
|
"test_flags": [ "evaluate-class", "noopt" ],
|
|
|
|
"main": "run.js",
|
2021-08-12 17:39:57 +00:00
|
|
|
"results_regexp": "^%s\\-ClassFields\\(Score\\): (.+)$",
|
2021-11-02 03:24:35 +00:00
|
|
|
"resources": ["classes.js", "evaluate-class.js"],
|
2021-08-12 17:39:57 +00:00
|
|
|
"tests": [
|
2021-11-02 03:24:35 +00:00
|
|
|
{"name": "EvaluateSinglePublicFieldClassNoOpt"},
|
|
|
|
{"name": "EvaluateMultiPublicFieldClassNoOpt"},
|
|
|
|
{"name": "EvaluateSinglePrivateFieldClassNoOpt"},
|
|
|
|
{"name": "EvaluateMultiPrivateFieldClassNoOpt"},
|
|
|
|
{"name": "EvaluateSingleComputedFieldClassNoOpt"},
|
|
|
|
{"name": "EvaluateMultiComputedFieldClassNoOpt"}
|
2021-08-19 16:16:22 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-11-02 03:24:35 +00:00
|
|
|
"name": "InitializeClassOpt",
|
|
|
|
"path": ["ClassFields"],
|
|
|
|
"test_flags": [ "initialize-instance", "opt" ],
|
|
|
|
"main": "run.js",
|
2021-08-19 16:16:22 +00:00
|
|
|
"results_regexp": "^%s\\-ClassFields\\(Score\\): (.+)$",
|
2021-11-02 03:24:35 +00:00
|
|
|
"resources": ["classes.js", "initialize-instance.js"],
|
2021-08-19 16:16:22 +00:00
|
|
|
"tests": [
|
2021-11-02 03:24:35 +00:00
|
|
|
{"name": "InitializeSinglePublicFieldClassOpt"},
|
|
|
|
{"name": "InitializeMultiPublicFieldClassOpt"},
|
|
|
|
{"name": "InitializeSinglePrivateFieldClassOpt"},
|
|
|
|
{"name": "InitializeMultiPrivateFieldClassOpt"},
|
|
|
|
{"name": "InitializeSingleComputedFieldClassOpt"},
|
|
|
|
{"name": "InitializeMultiComputedFieldClassOpt"}
|
2021-08-12 17:39:57 +00:00
|
|
|
]
|
2021-10-11 17:59:34 +00:00
|
|
|
},
|
|
|
|
{
|
2021-11-02 03:24:35 +00:00
|
|
|
"name": "InitializeClassNoOpt",
|
|
|
|
"path": ["ClassFields"],
|
|
|
|
"test_flags": [ "initialize-instance", "noopt" ],
|
|
|
|
"main": "run.js",
|
2021-10-11 17:59:34 +00:00
|
|
|
"results_regexp": "^%s\\-ClassFields\\(Score\\): (.+)$",
|
2021-11-02 03:24:35 +00:00
|
|
|
"resources": ["classes.js", "initialize-instance.js"],
|
2021-10-11 17:59:34 +00:00
|
|
|
"tests": [
|
2021-11-02 03:24:35 +00:00
|
|
|
{"name": "InitializeSinglePublicFieldClassNoOpt"},
|
|
|
|
{"name": "InitializeMultiPublicFieldClassNoOpt"},
|
|
|
|
{"name": "InitializeSinglePrivateFieldClassNoOpt"},
|
|
|
|
{"name": "InitializeMultiPrivateFieldClassNoOpt"},
|
|
|
|
{"name": "InitializeSingleComputedFieldClassNoOpt"},
|
|
|
|
{"name": "InitializeMultiComputedFieldClassNoOpt"}
|
2021-10-11 17:59:34 +00:00
|
|
|
]
|
2021-08-12 17:39:57 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|