Write a CPU sampling profile (pprof) sidecar alongside another output. Takes a path:
zshot --output-type png --pprof-cpu page.cpu.pprof --wait-for 3 https://zshot-cli.com -f page.png
The profile is gzip-compressed by default; pass --pprof-no-gzip for plain protobuf. To emit a CPU
profile as the primary output instead of a sidecar, use --output-type pprof_cpu.
This is a Pro-tier flag.
On the HTTP server, request this as with_pprof_cpu=true instead of a path. The server writes the
profile to a temporary location and returns its URL in a Link response header. See the API
reference for reading those links and
--server-additional-asset-expiration
for how long they live.