mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
f6e234b3f8
Use profiler markers to collect timing data. Markers of known name: AUTO_PROFILER_MARKER_TEXT("interesting thing #1", DOM, {}, ""_ns); AUTO_PROFILER_MARKER_TEXT("interesting thing #2", DOM, {}, ""_ns); can be inspected from the perftest: await startProfiler(); interestingThings(); let pdata = await stopProfiler(); let duration_ms = inspectProfile(pdata, [ "interesting thing #1", "interesting thing #2" ]); Differential Revision: https://phabricator.services.mozilla.com/D211368 |
||
---|---|---|
.. | ||
ipc | ||
navigation | ||
push | ||
scriptSecurity | ||
webIdlBindings | ||
workersAndStorage | ||
fedcm.rst | ||
index.rst | ||
ioutils_migration.md | ||
streams.md | ||
use-counters.rst |