Trace
- Output type
- trace
- Extension
- .trace.json
A performance trace for Chrome internal events and Javascript events. This format can be read by chrome://tracing and Perfetto.
Cross-origin iframes, GPU and network service processes do not appear in this trace.
You can request a trace alongside a render by using the --trace flag.
Example
zshot -f zemu.trace.json.gz \
https://zshot-cli.com/example_assets/zemu{
"url": "https://zshot-cli.com/example_assets/zemu",
"output_type": "trace"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zemu","output_type":"trace"}' \
-o zemu.trace.json.gz