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

A single sample from a sampling profile.

Properties

size: number

Allocation size in bytes attributed to the sample.

nodeId: integer

Id of the corresponding profile tree node.

ordinal: number

Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.