zshot/cliDownload

CPU profile

Output type
pprof_cpu
Extension
.cpu.pprof
LicensePro

A CPU sampling profile of JavaScript in pprof protobuf. The results can be read by pprof and speedscope.

Web workers, service workers, and cross-origin iframes are excluded.

You can request a CPU pprof alongside a render by using the --pprof-cpu flag.

Example

Run locally
zshot -f zemu.cpu.pprof \
      --device DesktopLinuxChrome \
      https://zshot-cli.com/example_assets/zemu/index.html

Review the results with pprof:

pprof -top ./zemu.cpu.pprof