Profiler Domain
Methods
Events
Profiler.consoleProfileFinished #
Parameters
id
string
location
Location of console.profileEnd().
profile
title
Optional
string
Profile title passed as an argument to console.profile().
Profiler.consoleProfileStarted #
Sent when new profile recodring is started using console.profile() call.
Parameters
id
string
location
Location of console.profile().
title
Optional
string
Profile 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
number
Profiling start timestamp in microseconds.
endTime
number
Profiling end timestamp in microseconds.
samples
Optional
array[ integer
]
Ids of samples top nodes.
timeDeltas
Optional
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
integer
Unique id of the node.
callFrame
Function location.
hitCount
Optional
integer
Number of samples where this node was on top of the call stack.
children
Optional
array[ integer
]
Child node ids.
deoptReason
Optional
string
The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
positionTicks
Optional