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-fuzzable-worker.js
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
d8-worker-script.txt
d8-worker-sharedarraybuffer.js
d8-worker-shutdown-empty.js
d8-worker-shutdown-gc.js
d8-worker-shutdown-spawn.js
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-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