e9730043cf
This adds a new API function and provides a simple implementation of performance.measureMemory() in d8. The implementation currently immediately resolves the result promise with the current heap size. Bug: chromium:973627 Change-Id: Ia8e1963a49b7df628b5487a2c0d601473f0cb039 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1796502 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#63694} |
||
---|---|---|
.. | ||
.gitignore | ||
d8-arguments.js | ||
d8-os.js | ||
d8-performance-measure-memory.js | ||
d8-performance-now.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 |