Skip to main content
Profiler.ProfileNode - inspector/promises - Node documentation
interface Profiler.ProfileNode

Usage in Deno

import { Profiler } from "node:inspector/promises";

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.

Back to top