moz.build |
|
559 |
tests |
|
|
tracer.sys.mjs |
This module implements the JavaScript tracer.
It is being used by:
- any code that want to manually toggle the tracer, typically when debugging code,
- the tracer actor to start and stop tracing from DevTools UI,
- the tracing state resource watcher in order to notify DevTools UI about the tracing state.
It will default logging the tracers to the terminal/stdout.
But if DevTools are opened, it may delegate the logging to the tracer actor.
It will typically log the traces to the Web Console.
`JavaScriptTracer.onEnterFrame` method is hot codepath and should be reviewed accordingly.
|
39249 |