Auto Threading
Auto thread intelligently prevents your browser from launching if CPU usage exceeds a configurable threshold value. It allows to launch browser only if enough CPU is available. This ensures stability for your script execution.
Auto thread feature checks the CPU usage of the machine before launching each browser instance and allows it to launch only if enough CPU is available.
Auto thread helps in adjusting the thread number as per your machine capacity.
Provide your thread number as 0 so that maximum thread launched will be equal to the capacity provided in browser_types
Configure
Section titled “Configure”Two properties control auto thread. Set them in userdata.properties (on the Dashboard, All Settings › Sahi Pro Settings › Configuration › User Properties):
sahi.auto_thread.enabled: turns auto thread on (true) or off (false). It istrueinconfig/sahi.properties.sahi.threshold.cpu_usage: the CPU usage, in percent, below which a browser can be launched. The default is90.
For one suite run, turn on Enable Autothread in the Run Configuration’s Advanced Settings.

