v8/test/mjsunit/d8
Leszek Swirski c4772b58aa [d8] Add performance.mark and performance.measure
Add simple implementations of performance.mark/performance.measure --
these aren't fully to spec, and in particular don't have the right base
class or prototype, but they're similar enough for simple use.

Additionally, log trace events for performance.measure, similar to
Chromium -- this allows us to annotate traces collected with d8's
--enable-tracing.

Change-Id: Ib4d7104ba94a261493c57334b2008956e4d89dd1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3918092
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83478}
2022-09-28 14:58:17 +00:00
..
.gitignore
d8-arguments.js [d8] only add arguments object if arguments are provided 2018-10-23 11:46:53 +00:00
d8-fuzzable-worker.js [test] Make worker related tests more fuzzable 2021-01-26 12:09:59 +00:00
d8-multiple-module-exec.js Don't double-fetch a module specified on the d8 command line 2022-01-16 12:44:37 +00:00
d8-os.js Reland "[mjsunit][tools][d8] Full roundtrip tickprocessor test" 2021-06-02 07:02:48 +00:00
d8-performance-now.js
d8-realm-explicit-scope.js [web snapshot] Introduce an ExplicitRealmScope in d8 2021-06-04 08:48:16 +00:00
d8-worker-script.js Revert "[d8] Cleanup message queues" 2019-07-23 14:25:38 +00:00
d8-worker-script.txt [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
d8-worker-sharedarraybuffer.js [cleanup] Rename uses of 'neuter' to 'detach' 2019-08-06 14:24:05 +00:00
d8-worker-shutdown-empty.js Reland "[d8] Remove maximum workers limitation" 2019-07-30 07:56:17 +00:00
d8-worker-shutdown-gc.js Reland "[d8] Remove maximum workers limitation" 2019-07-30 07:56:17 +00:00
d8-worker-shutdown-spawn.js Reland "[d8] Remove maximum workers limitation" 2019-07-30 07:56:17 +00:00
d8-worker-shutdown.js [d8] Use explicit variable to track Worker state 2021-12-08 14:49:06 +00:00
d8-worker-spawn-worker.js [d8] Update new Worker API to match the Web API 2018-09-20 00:10:28 +00:00
d8-worker.js [deserialize] add error object to id_map_ when deserialize 2022-02-22 10:21:11 +00:00
enable-tracing.js
performance-mark.js [d8] Add performance.mark and performance.measure 2022-09-28 14:58:17 +00:00