Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.HeapProfiler.SamplingHeapProfileNode
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { SamplingHeapProfileNode } = Protocol.HeapProfiler;

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Properties

Function location.

selfSize: number

Allocations size in bytes for the node excluding children.

Node id. Ids are unique across all profiles collected between startSampling and stopSampling.

Child nodes.