Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Profiler.ProfileNode
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ProfileNode } = Protocol.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.