TofuPilotTofuPilot

Workers

Configure worker threads to run multiple test phases in parallel, improving throughput for independent measurements in TofuPilot.

You can set workers to control the maximum number of phases running in parallel:

execution:
  workers: 16

TofuPilot runs phases without dependencies (see Depends On) in parallel using a worker pool. It defaults to 8 workers if not specified.

You can match your CPU core count for CPU-intensive tests. For I/O-heavy tests like instrument communication, you should be able to increase to 2-3x your core count, as workers can overlap while waiting for external devices or user input.

How is this guide?

On this page