puppeteer/new-docs/puppeteer.protocol.heapprofiler.samplingheapprofilesample.md

23 lines
1.1 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [HeapProfiler](./puppeteer.protocol.heapprofiler.md) &gt; [SamplingHeapProfileSample](./puppeteer.protocol.heapprofiler.samplingheapprofilesample.md)
## Protocol.HeapProfiler.SamplingHeapProfileSample interface
A single sample from a sampling profile.
<b>Signature:</b>
```typescript
export interface SamplingHeapProfileSample
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [nodeId](./puppeteer.protocol.heapprofiler.samplingheapprofilesample.nodeid.md) | [integer](./puppeteer.protocol.integer.md) | Id of the corresponding profile tree node. |
| [ordinal](./puppeteer.protocol.heapprofiler.samplingheapprofilesample.ordinal.md) | number | Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling. |
| [size](./puppeteer.protocol.heapprofiler.samplingheapprofilesample.size.md) | number | Allocation size in bytes attributed to the sample. |