Dax's (@thdxr) Custom Sandbox Benchmark
Dax Benchmark
A real-world workload benchmark inspired by this tweet from dax to test potential sandbox providers for OpenCode.
if you think you have a good option run this
— dax (@thdxr) July 17, 2026
curl -fsSL https://t.co/sKj7k7aqWZ | BENCH_PROVIDER=unknown BENCH_REGION=unknown bash
Want to see a provider added?
Methodology
What We Measure
Each run executes a cold clone + install + typecheck cycle of the opencode repository inside a fresh sandbox: install system packages and Node.js, download and unpack Bun, shallow-clone opencode at a pinned commit, run bun install, then bun typecheck.
Each provider runs 3 iterations per benchmark run. Benchmarks run via GitHub Actions and results are committed to the public benchmarks repo.
How We Score
The Composite Score is the median number of the 7 benchmark phases (prepare, cache clear, bun download, bun unpack, clone, install, typecheck) a provider completed before failing, if any — shown as a fraction like 7/7.
The other metrics (Total, Prepare, Clone, Install, Typecheck) are real-world phase durations in seconds — providers are ranked by median duration (lower is better) when one of those is selected. The benchmark requires curl, root/sudo, and apt-get inside the sandbox — providers without those capabilities fail early, which shows up as a low phase count.