puppeteer/docs/api/puppeteer.metrics.md

258 lines
1.9 KiB
Markdown

---
sidebar_label: Metrics
---
# Metrics interface
#### Signature:
```typescript
export interface Metrics
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
<span id="documents">Documents</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="frames">Frames</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="jseventlisteners">JSEventListeners</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="jsheaptotalsize">JSHeapTotalSize</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="jsheapusedsize">JSHeapUsedSize</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="layoutcount">LayoutCount</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="layoutduration">LayoutDuration</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="nodes">Nodes</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="recalcstylecount">RecalcStyleCount</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="recalcstyleduration">RecalcStyleDuration</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="scriptduration">ScriptDuration</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="taskduration">TaskDuration</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
<tr><td>
<span id="timestamp">Timestamp</span>
</td><td>
`optional`
</td><td>
number
</td><td>
</td><td>
</td></tr>
</tbody></table>