Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Profiler.ProfileNode
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ProfileNode } = default.Profiler;

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

Properties

Unique id of the node.

Function location.

optional
hitCount: integer

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

optional
children: integer[]

Child node ids.

optional
deoptReason: string

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

optional
positionTicks: PositionTickInfo[]

An array of source position ticks.