b034b71568
This adds microbenchmarks for: * the RegExp constructor, * flag accessors, * and RegExp functions: exec, @@match, @@search, test, @@split, @@replace. Each benchmark is further split to measure fast and slow paths. BUG=v8:5339 Review-Url: https://codereview.chromium.org/2521263003 Cr-Commit-Position: refs/heads/master@{#41285}
62 lines
1.4 KiB
JSON
62 lines
1.4 KiB
JSON
{
|
|
"name": "RegExpTests",
|
|
"run_count": 5,
|
|
"run_count_android_arm": 3,
|
|
"run_count_android_arm64": 3,
|
|
"timeout": 120,
|
|
"units": "score",
|
|
"total": true,
|
|
"resources": ["base.js"],
|
|
"tests": [
|
|
{
|
|
"name": "RegExp",
|
|
"path": ["."],
|
|
"main": "run.js",
|
|
"resources": [
|
|
"base_ctor.js",
|
|
"base_exec.js",
|
|
"base_flags.js",
|
|
"base_match.js",
|
|
"base_replace.js",
|
|
"base_search.js",
|
|
"base_split.js",
|
|
"base_test.js",
|
|
"base.js",
|
|
"ctor.js",
|
|
"exec.js",
|
|
"flags.js",
|
|
"match.js",
|
|
"replace.js",
|
|
"search.js",
|
|
"split.js",
|
|
"test.js",
|
|
"slow_exec.js",
|
|
"slow_flags.js",
|
|
"slow_match.js",
|
|
"slow_replace.js",
|
|
"slow_search.js",
|
|
"slow_split.js",
|
|
"slow_test.js",
|
|
],
|
|
"results_regexp": "^%s\\-RegExp\\(Score\\): (.+)$",
|
|
"tests": [
|
|
{"name": "Ctor"},
|
|
{"name": "Exec"},
|
|
{"name": "Flags"},
|
|
{"name": "Match"},
|
|
{"name": "Replace"},
|
|
{"name": "Search"},
|
|
{"name": "Split"},
|
|
{"name": "Test"},
|
|
{"name": "SlowExec"},
|
|
{"name": "SlowFlags"},
|
|
{"name": "SlowMatch"},
|
|
{"name": "SlowReplace"},
|
|
{"name": "SlowSearch"},
|
|
{"name": "SlowSplit"},
|
|
{"name": "SlowTest"},
|
|
]
|
|
}
|
|
]
|
|
}
|