Skip to main content
Profiler.ProfileNode - node__inspector--promises.d.ts - Node documentation
interface Profiler.ProfileNode

Usage in Deno

```typescript import { Profiler } from "node:node__inspector--promises.d.ts"; ```
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.