puppeteer/new-docs/puppeteer.protocol.profiler.profilenode.md
2020-07-13 14:01:35 +01:00

26 lines
1.5 KiB
Markdown

<!-- 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; [Profiler](./puppeteer.protocol.profiler.md) &gt; [ProfileNode](./puppeteer.protocol.profiler.profilenode.md)
## Protocol.Profiler.ProfileNode interface
Profile node. Holds callsite information, execution statistics and child nodes.
<b>Signature:</b>
```typescript
export interface ProfileNode
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [callFrame](./puppeteer.protocol.profiler.profilenode.callframe.md) | [Runtime.CallFrame](./puppeteer.protocol.runtime.callframe.md) | Function location. |
| [children](./puppeteer.protocol.profiler.profilenode.children.md) | [integer](./puppeteer.protocol.integer.md)<!-- -->\[\] | Child node ids. |
| [deoptReason](./puppeteer.protocol.profiler.profilenode.deoptreason.md) | string | The reason of being not optimized. The function may be deoptimized or marked as don't optimize. |
| [hitCount](./puppeteer.protocol.profiler.profilenode.hitcount.md) | [integer](./puppeteer.protocol.integer.md) | Number of samples where this node was on top of the call stack. |
| [id](./puppeteer.protocol.profiler.profilenode.id.md) | [integer](./puppeteer.protocol.integer.md) | Unique id of the node. |
| [positionTicks](./puppeteer.protocol.profiler.profilenode.positionticks.md) | [PositionTickInfo](./puppeteer.protocol.profiler.positiontickinfo.md)<!-- -->\[\] | An array of source position ticks. |