Profiler Domain
Methods
Events
Profiler.consoleProfileFinished #
Parameters
id stringlocation Location of console.profileEnd().
profile titleOptional
stringProfile title passed as an argument to console.profile().
Profiler.consoleProfileStarted #
Sent when new profile recodring is started using console.profile() call.
Parameters
id stringlocation Location of console.profile().
titleOptional
stringProfile title passed as an argument to console.profile().
Types
Profiler.Profile #
Profile.
Type: object
Properties
nodes array[ ProfileNode ]The list of profile nodes. First item is the root node.
startTime numberProfiling start timestamp in microseconds.
endTime numberProfiling end timestamp in microseconds.
samplesOptional
array[ integer ]Ids of samples top nodes.
timeDeltasOptional
array[ integer ]Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
Profiler.ProfileNode #
Profile node. Holds callsite information, execution statistics and child nodes.
Type: object
Properties
id integerUnique id of the node.
callFrame Function location.
hitCountOptional
integerNumber of samples where this node was on top of the call stack.
childrenOptional
array[ integer ]Child node ids.
deoptReasonOptional
stringThe reason of being not optimized. The function may be deoptimized or marked as don't optimize.
positionTicksOptional