timeline.md
September 4, 2017 ยท View on GitHub
Table of Contents
Timeline
Extends Actor
The timeline actor pops and forwards timeline markers registered in docshells.
isRecording
Are we recording profile markers currently?
Returns Promise.Boolean true if actor is profiling
start
Start recording profile markers.
Parameters
withMarkersBoolean Boolean indicating whether or not timeline markers are emitted once they're accumulated everyDEFAULT_TIMELINE_DATA_PULL_TIMEOUTmilliseconds.withTicksBoolean Boolean indicating whether aticksevent is fired and a FramerateActor is created.withMemoryBoolean Boolean indiciating whether we want memory measurements sampled.withFramesBoolean Boolean indicating whether or not stack frames should be handled from timeline markers.withGCEventsBoolean Boolean indicating whether or not GC markers should be emitted. TODO: Remove these fake GC markers altogether in bug 1198127.withDocLoadingEventsBoolean Boolean indicating whether or not DOMContentLoaded and Load marker events are emitted.
Returns Promise.Number start time of recording
stop
Stop recording profile markers.
Returns Promise.Number end time of recording