v8/test/js-perf-test/RegExp
Jakob Kummerow 2cce5c52c2 Make RegExpFlagsFromString faster
The new ObjectPtr design makes non-inlined helper functions a little
more expensive because "this" is always a pointer where pass-by-value
would be more efficient, which is an issue for functions whose size puts
them right at the threshold of getting inlined or not. String::Get falls
into this category when called from RegExpFlagsFromString. In this case,
we can do even better than restoring inlineability by fine-tuning
the control flow a bit.

This should repair the regression in crbug.com/910573

Bug: chromium:910573
Change-Id: Ie6b68ef01cd978ec502d8d6c1da788c77422dce7
Reviewed-on: https://chromium-review.googlesource.com/c/1369087
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58234}
2018-12-14 01:25:02 +00:00
..
base_ctor.js [js-perf-test] Move SubRegExp class definition outside loop 2016-11-30 12:20:17 +00:00
base_exec.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base_flags.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base_match.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base_replace.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base_search.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base_split.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base_test.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
base.js Make RegExpFlagsFromString faster 2018-12-14 01:25:02 +00:00
ctor.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
exec.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
flags.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
inline_test.js [js-perf-test] Fix tests on android 2018-05-24 09:09:59 +00:00
match.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
RegExpTests.json [js-perf-test] Fix tests on android 2018-05-24 09:09:59 +00:00
replace.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
run.js [js-perf-test] Fix tests on android 2018-05-24 09:09:59 +00:00
search.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_exec.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_flags.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_match.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_replace.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_search.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_split.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
slow_test.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
split.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00
test.js [js-perf-test] Add RegExp microbenchmarks 2016-11-25 09:25:23 +00:00