v8/test/js-perf-test/RegExp.json
Frank Tang b9e1c2c4e9 Add benchmark for regexp "gi".
Measure speed regression of a range of char in complex regexp
The measurement is using the code from chromium:977003

To measure
python -u tools/run_perf.py --binary-override-path  out/x64.release/d8 \
  test/js-perf-test/RegExp.json

Run on three setting:
a. m74 based on tag 7.4.301
b. trunk (m77)
c. apply cl 1674851 on trunk

ComplexCaseInsensitiveTest-RegExp
Score is better if higher
		Score	imp %	comp to m74
m74		22910
		23430
		23360
Trunk (m77)	15190	66.30%
		15710	67.05%
		15570	66.65%
CL 1674851	24590	161.88%	107.33%
		24690	157.16%	105.38%
		24200	155.43%	103.60%

Bug: chromium:977003

Change-Id: I7756f4739c44a07949103650565d1ca902e1b7ca
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1679651
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62449}
2019-06-28 17:56:31 +00:00

69 lines
1.6 KiB
JSON

{
"owners": ["jgruber@chromium.org", "yangguo@chromium.org"],
"name": "RegExp",
"run_count": 3,
"run_count_arm": 1,
"run_count_arm64": 1,
"timeout": 120,
"units": "score",
"total": true,
"resources": ["base.js"],
"tests": [
{
"name": "RegExp",
"path": ["RegExp"],
"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",
"case_test.js",
"complex_case_test.js",
"ctor.js",
"exec.js",
"flags.js",
"inline_test.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": "CaseInsensitiveTest"},
{"name": "ComplexCaseInsensitiveTest"},
{"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"},
{"name": "InlineTest"}
]
}
]
}