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