performance_trace_start
Begin a performance trace on the active tab with configurable categories and screenshots. End trace via stop() to export as JSON.
Instructions
Start Chrome DevTools performance trace on the active tab.
Use stop() to save the .json file. Only one trace can be active at a time.
Args:
categories: comma-separated trace categories. Default covers DevTools'
Performance panel view:
"devtools.timeline,v8.execute,disabled-by-default-devtools.timeline,
disabled-by-default-devtools.timeline.frame,loading,latencyInfo,
blink.user_timing"
screenshots: include screenshot frames in trace (bigger file, lets you
scrub through frames in DevTools Performance panel)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | No | ||
| screenshots | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |