--pprof-cpu-interval-us
- CLI
- --pprof-cpu-interval-us
Sets the CPU sampling interval in microseconds. Lower values sample more often, at higher overhead.
Example
zshot -f page.cpu.pprof \
--pprof-cpu-interval-us 250 \
https://zshot-cli.com/example_assets/zemu/{
"url": "https://zshot-cli.com/example_assets/zemu/",
"output_type": "pprof_cpu",
"pprof_cpu_interval_us": 250
}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":"pprof_cpu","pprof_cpu_interval_us":250}' \
-o page.cpu.pprof