Skip to content

DAX Benchmark: CodeSandbox

CodeSandbox

Phases Completed

5/7 phases
✓ Prepare✓ Cache Clear✓ Bun Download✓ Bun Unpack✓ Clone○ Install○ Typecheck
Latest Error
install phase failed (exit code 1, 5/7 phases completed): https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz | error: failed to download is-map@2.0.3: Fail | https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz | error: failed to download electron-publish@26.8.1: Fail | https://registry.npmjs.org/electron-publish/-/electron-publish-26.8. | done. | bun install v1.3.14 (0d9b296a) | | Provider | CPU / RAM | Region / CPU | Clone | Install | Typecheck | Workload total | Result | | |---|---|---|---:|---:|---:|---:|---| | | **codesandbox** | 8 CPU / 15.63 GiB | unknown, AMD EPYC | 1.732s | 6.824s | — | — | ❌ install |

Environment

Sandbox hardware and software context — use this to tell whether a provider is faster because of more CPUs/memory, not a faster disk or network.

CPU
AMD EPYC
Logical CPUs
8
Memory
15.6 GB
Architecture
x86_64
Kernel
Linux 6.1.43
Bun Version
1.3.14
Node Version
v24.14.1
Commit
08fb473

Estimated Cost

Median workload time x published rates at the 8 vCPU / 16 GiB sandbox spec. Excludes sandbox create/destroy time.

Cost / Workload
$0.0035
Rate @ 8 vCPU / 16 GiB
$0.5944/hr
Billing Model
VM credits (wall clock)
1,000 Workloads / Month
$3.55

Small VM (8 CPU / 16 GiB) = 40 credits/hr at $0.01486/credit. Source · Compare all providers

Disk Usage

Total disk usage (du -sx) captured after each phase — a proxy for disk I/O and storage cost. Some providers report 0 here if their sandbox filesystem doesn't support usable disk-usage reporting.

After Clone
333.3 MB
Repo size (source only)
After Install
—
Dependencies added by bun install
After Typecheck
—
Build artifacts from typecheck, if any

Total Duration

Failed
This phase never completed in the latest run, so there's no duration to show.

Prepare

Failed
This phase never completed in the latest run, so there's no duration to show.

Bun Download

Bun Download Over Time

Bun Unpack

Bun Unpack Over Time

Clone

Failed
This phase never completed in the latest run, so there's no duration to show.

Install

Failed
This phase never completed in the latest run, so there's no duration to show.

Typecheck

Failed
This phase never completed in the latest run, so there's no duration to show.

Raw Iterations

Each iteration runs the full clone + install + typecheck cycle from a fresh sandbox.

#PhasesTotalPrepareBun DLBun UnpackCloneInstallTypecheckError
15/721.48s320818.85s0.22s0.64s1.73s——install phase failed (exit code 1, 5/7 phases completed): https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz | error: failed to download is-map@2.0.3: Fail | https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz | error: failed to download electron-publish@26.8.1: Fail | https://registry.npmjs.org/electron-publish/-/electron-publish-26.8. | done. | bun install v1.3.14 (0d9b296a) | | Provider | CPU / RAM | Region / CPU | Clone | Install | Typecheck | Workload total | Result | | |---|---|---|---:|---:|---:|---:|---| | | **codesandbox** | 8 CPU / 15.63 GiB | unknown, AMD EPYC | 1.732s | 6.824s | — | — | ❌ install |

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 1 iteration per scheduled 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 a package manager (apt, dnf, or apk) inside the sandbox — providers without those capabilities fail early, which shows up as a low phase count.