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
d8-os.js
d8-performance-now.js
d8-realm-explicit-scope.js
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-worker-spawn-worker.js
d8-worker.js
enable-tracing.js
performance-mark.js