--pprof-captures-navigation
- CLI
- --pprof-captures-navigation
Includes samples from every page of a --navigate session.
Example
zshot -f session.cpu.pprof \
--pprof-captures-navigation \
--navigate "Open the first chapter" \
https://zshot-cli.com/example_assets/winnie-the-pooh/{
"url": "https://zshot-cli.com/example_assets/winnie-the-pooh/",
"output_type": "pprof_cpu",
"navigate": "Open the first chapter",
"pprof_captures_navigation": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/winnie-the-pooh/","output_type":"pprof_cpu","navigate":"Open the first chapter","pprof_captures_navigation":true}' \
-o session.cpu.pprof