Profiler.ProfileNode - Node documentation
interface Profiler.ProfileNode

Usage in Deno

import { type Profiler } from "node:inspector";
type { ProfileNode } = Profiler;

Profile node. Holds callsite information, execution statistics and child nodes.

Properties

id: number

Unique id of the node.

Function location.

optional
hitCount: number | undefined

Number of samples where this node was on top of the call stack.

optional
children: number[] | undefined

Child node ids.

optional
deoptReason: string | undefined

The reason of being not optimized. The function may be deoptimized or marked as don't optimize.

optional
positionTicks: PositionTickInfo[] | undefined

An array of source position ticks.