v8/test/inspector/runtime
Caitlin Potter 52ff3ae48b [builtins] implement RunMicrotasks pump as a code stub
- Implement RunMicrotasks in CSA to prevent a potentially large number
  of jumps between C++ and JS code while consuming te queue. Appears to
  provide a ~60% speedup in microtask-heavy code, which from limited
  testing appears to scale linearly.

  The code-stub microtask pump bails out to the old C++ microtask pump
  if it encounters a CallHandlerInfo microtask, and remains in C++ for
  the remainder of the queue (returning to the JS/stub implementation
  after the bailed out queue is exhausted).

- Add a variation of JSEntryStub which enters the new RunMicrotasks code
  stub.

- Add a new RunMicrotasks helper to Execution, which uses the
  RunMicrotasks entry stub.

Bug: 
Change-Id: I4667d4dd633d24455ea5d7cef239da0af1a7365e
Reviewed-on: https://chromium-review.googlesource.com/650486
Commit-Queue: Caitlin Potter <caitp@igalia.com>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49842}
2017-12-04 17:55:29 +00:00
..
await-promise-expected.txt [inspector] reworked async instrumentation for promises 2017-11-21 16:56:00 +00:00
await-promise.js [inspector] improved exception details for Runtime.evaluate with awaitPromise 2017-07-07 14:23:32 +00:00
call-function-on-async-expected.txt Reland of Inspector: Runtime.callFunctionOn to accept executionContextId 2017-08-31 02:23:06 +00:00
call-function-on-async.js Reland of Inspector: Runtime.callFunctionOn to accept executionContextId 2017-08-31 02:23:06 +00:00
clear-of-command-line-api-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
clear-of-command-line-api.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
client-console-api-message-expected.txt [inspector] avoid cloning of async call chains 2017-04-18 15:53:08 +00:00
client-console-api-message.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
command-line-api-expected.txt [inspector] provisional breakpoints for anonymous script 2017-10-07 19:08:35 +00:00
command-line-api.js [inspector] improved queryObjects command line API 2017-08-24 00:50:52 +00:00
compile-script-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
compile-script.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-api-repeated-in-console-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-api-repeated-in-console.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-assert-expected.txt [inspector] make console.assert much faster 2016-11-23 17:09:50 +00:00
console-assert.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-context-expected.txt [inspector] introduced console.context 2017-06-12 15:49:13 +00:00
console-context.js [inspector] introduced console.context 2017-06-12 15:49:13 +00:00
console-deprecated-methods-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-deprecated-methods.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-line-and-column-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-line-and-column.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-log-doesnt-run-microtasks-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-log-doesnt-run-microtasks.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-memory-expected.txt [inspector] console get all information from inspector when needed 2017-03-29 21:40:07 +00:00
console-memory.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-messages-limits-expected.txt [inspector] introduced memory size limit for console message storage 2017-01-30 17:05:58 +00:00
console-messages-limits.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-methods-expected.txt DevTools: also use default label for console.count 2017-12-01 20:17:20 +00:00
console-methods.js DevTools: also use default label for console.count 2017-12-01 20:17:20 +00:00
console-spec-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-spec.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-time-end-format-expected.txt [inspector] align console.time(undefined) and console.time() with spec 2017-10-17 00:09:26 +00:00
console-time-end-format.js [inspector] align console.time(undefined) and console.time() with spec 2017-10-17 00:09:26 +00:00
console-time-repeat-expected.txt Do not reset timer for console.time calls with the same label 2017-12-01 19:17:30 +00:00
console-time-repeat.js Do not reset timer for console.time calls with the same label 2017-12-01 19:17:30 +00:00
console-timestamp-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-timestamp.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
context-destroyed-on-context-collected-expected.txt [inspector] support for cases when embedder doesn't call contextDestroyed 2017-08-01 23:06:20 +00:00
context-destroyed-on-context-collected.js [inspector] support for cases when embedder doesn't call contextDestroyed 2017-08-01 23:06:20 +00:00
create-context-expected.txt Reland [inspector] introduced stackTraceId and externalAsyncTask API 2017-11-22 20:56:10 +00:00
create-context.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
es6-module-expected.txt [inspector] added url to Debugger.CallFrame 2017-09-07 16:39:31 +00:00
es6-module.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-async-expected.txt [builtins] implement RunMicrotasks pump as a code stub 2017-12-04 17:55:29 +00:00
evaluate-async-with-wrap-error-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-async-with-wrap-error.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-async.js [inspector] aligned Runtime.evaluate(awaitPromise: true) with await semantic 2017-08-15 01:35:29 +00:00
evaluate-empty-stack-expected.txt [debug] remove JSON debug protocol related tests. 2016-11-24 10:43:22 +00:00
evaluate-empty-stack.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-with-context-id-equal-zero-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-with-context-id-equal-zero.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-with-generate-preview-expected.txt [inspector] better isArrayLike for injected-script-source.js 2017-03-24 17:38:20 +00:00
evaluate-with-generate-preview.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
exception-thrown-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
exception-thrown.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
function-scopes-expected.txt [inspector] report [[Scopes]] all the time 2017-09-12 21:17:35 +00:00
function-scopes.js [inspector] report [[Scopes]] all the time 2017-09-12 21:17:35 +00:00
get-properties-expected.txt [inspector] run more tests with InspectorTest.setupInjectedScriptEnvironment 2017-03-24 18:43:22 +00:00
get-properties-on-proxy-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-on-proxy.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-preview-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-preview.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
internal-properties-entries-expected.txt [inspector] introduced v8::debug::EntriesPreview for inspector 2017-02-07 07:46:21 +00:00
internal-properties-entries.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
internal-properties-expected.txt [inspector] report [[Scopes]] all the time 2017-09-12 21:17:35 +00:00
internal-properties.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
length-or-size-description-expected.txt inspector: add lengths for binary data descriptions 2017-07-25 00:19:55 +00:00
length-or-size-description.js inspector: add lengths for binary data descriptions 2017-07-25 00:19:55 +00:00
property-on-console-proto-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
property-on-console-proto.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
protocol-works-with-different-locale-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
protocol-works-with-different-locale.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
query-objects-expected.txt [inspector] improved queryObjects command line API 2017-08-24 00:50:52 +00:00
query-objects.js [inspector] improved queryObjects command line API 2017-08-24 00:50:52 +00:00
regression-732717-expected.txt [inspector] console.context should be ready for GC 2017-06-13 10:38:15 +00:00
regression-732717.js [inspector] console.context should be ready for GC 2017-06-13 10:38:15 +00:00
regression-736302-expected.txt DevTools: also use default label for console.count 2017-12-01 20:17:20 +00:00
regression-736302.js [inspector] catch exception during object.toString() call for console 2017-07-12 06:01:42 +00:00
run-script-async-expected.txt [inspector] aligned Runtime.evaluate(awaitPromise: true) with await semantic 2017-08-15 01:35:29 +00:00
run-script-async.js [inspector] aligned Runtime.evaluate(awaitPromise: true) with await semantic 2017-08-15 01:35:29 +00:00
runtime-disable-preserve-injected-script-expected.txt [inspector] don't discard injected-script on runtime.disable 2017-08-10 04:33:14 +00:00
runtime-disable-preserve-injected-script.js [inspector] don't discard injected-script on runtime.disable 2017-08-10 04:33:14 +00:00
runtime-evaluate-with-dirty-context-expected.txt [inspector] Increased chances of successful InjectedScriptSource compilation 2017-03-24 01:33:12 +00:00
runtime-evaluate-with-dirty-context.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
runtime-get-properties-and-accessor-expected.txt [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
runtime-get-properties-and-accessor.js [inspector] do not call native accessor in Rumtime.getProperties 2017-11-06 17:45:46 +00:00
runtime-global-lexical-scope-names-expected.txt [inspector] added Runtime.globalLexicalScopeNames method 2017-10-17 01:02:37 +00:00
runtime-global-lexical-scope-names.js [inspector] added Runtime.globalLexicalScopeNames method 2017-10-17 01:02:37 +00:00
runtime-restore-expected.txt [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
runtime-restore.js [inspector] added Runtime.globalLexicalScopeNames method 2017-10-17 01:02:37 +00:00
set-or-map-entries-expected.txt Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
set-or-map-entries.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00