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/vendor/devtools-protocol/protocol.d.ts";
const { SamplingHeapProfileNode } = Protocol.HeapProfiler;

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

Properties

callFrame: Runtime.CallFrame

Function location.

selfSize: number

Allocations size in bytes for the node excluding children.

id: integer

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

children: SamplingHeapProfileNode[]

Child nodes.