CPUProfileFrame

object

Represents a frame in a cpu profile

stacktracestringrequired

The stacktrace for the frame

valueinteger(uint64)required

The number of times the stacktrace was sampled in the profile

locationsarray[object]required

The location in the cpu profiling frame (contains function, line, file metadata)

Show Child Parameters
attributesobject
Example

CPUProfileFrameLocation

object

The location in the cpu profiling frame (contains function, line, file metadata)

functionobject

Represents a function in the cpu profile (contains the name of the function and the file where it’s defined)

Show Child Parameters
lineinteger

The line number for the function call

Example

CPUProfileFunction

object

Represents a function in the cpu profile (contains the name of the function and the file where it’s defined)

namestring

The name of the function

filestring

The file where the function is defined

Example

CPUProfileFlamegraph

object

Represents the flamegraph representation of a cpu profile

rootobjectrequired

Represents a node in the flamegraph tree

Show Child Parameters
Example

CPUProfileFlamegraphNode

object

Represents a node in the flamegraph tree

locationobject

The location in the cpu profiling frame (contains function, line, file metadata)

Show Child Parameters
valueinteger(uint64)required

The value associated with this node in the flamegraph tree

childrenarray[object]required

Represents a node in the flamegraph tree

Show Child Parameters
Example