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