Documentation
¶
Overview ¶
Command benchworkers compares five ways Djinn starts a worker on the same small task, with a real model: cold (claude -p as Djinn runs it), --bare, a fork of a session, a warm worker, and a cold worker behind a stable brief. It measures the time to the first output, the tokens with the cache, and the cost. It is a PAID run: it prints its quote, and refuses to run without BENCH_PAID=yes and a cap, BENCH_MAX_USD.
go tool task bench-workers # the quote, and how to run it BENCH_PAID=yes BENCH_MAX_USD=0.50 go tool task bench-workers # the run
BENCH_MODEL (haiku by default), BENCH_RUNS (3 rounds by default), BENCH_WARM_WAIT (5s: how long a warm worker loads before its message), BENCH_OUT (a file for the Markdown table, besides the output).