--emulate-hardware-concurrency
- CLI
- --emulate-hardware-concurrency
Sets navigator.hardwareConcurrency. The default is the host’s core count. If --device is set, the core count will be the known core count for that device.
Example
zshot -f page.png \
--emulate-hardware-concurrency 4 \
https://zshot-cli.com/example_assets/zemu/{
"url": "https://zshot-cli.com/example_assets/zemu/",
"output_type": "png",
"emulate_hardware_concurrency": 4
}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":"png","emulate_hardware_concurrency":4}' \
-o page.png