v8/test
Benedikt Meurer 79e91f0c14 [builtins] Extend the @@species protector to guard Promises.
Use this in the PromiseThen operation to skip the (expensive) lookup in
the SpeciesConstructor operation. This yields in a nice 3-5% improvement
on the bluebird and wikipedia benchmarks, and paves the way for inlining
certain Promise operations into TurboFan optimized code later.

On the micro-benchmark mentioned in the bug (from the findings doc), we
reduce the overall execution time by 25%, which makes sense given that
Promise.prototype.then spends a significant portion of it's time just
figuring out the appropriate constructor.

Bug: v8:7253, v8:7349
Change-Id: Ia1577b59d1b7e4b8dbda83e2186583edab76695a
Reviewed-on: https://chromium-review.googlesource.com/880681
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50794}
2018-01-23 11:32:05 +00:00
..
benchmarks [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
cctest [builtins] Extend the @@species protector to guard Promises. 2018-01-23 11:32:05 +00:00
common [wasm] Move SyncCompile* and AsyncCompile* methods to WasmEngine 2018-01-18 13:27:46 +00:00
debugger [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
fuzzer [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
inspector [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
intl [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
js-perf-test [test] Add JSTest benchmark for array literal spread. 2018-01-23 05:39:30 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
mjsunit [wasm] Disable wasm/streaming-error-position for predicatable mode. 2018-01-23 11:01:54 +00:00
mkgrokdump [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
mozilla [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
preparser [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
test262 [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
unittests [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
wasm-spec-tests [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
webkit [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
bot_default.gyp [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
d8_default.gyp [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
d8_default.isolate [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
default.gyp [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
perf.isolate Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00