CodeSandbox vs Pethost

Sandbox Benchmark Comparison · Updated December 4, 2026

Faster in
0of 1 benchmark
vs
Faster in
1of 1 benchmark

Pethost was faster in the only sandbox benchmark with a speed verdict.

Head to head

  • Time to interactive · lower is better
    Pethost faster5.02x
    CodeSandbox
    10.40s
    Pethost
    2.07s
  • Total workload time · lower is better
    No verdict
    CodeSandbox
    —
    Pethost
    73.08s

Burst TTI

December 4, 2026

CodeSandbox

100% success
Median
10.40s
p95
17.77s
p99
19.49s

Pethost

100% success
Median
2.07s
p95
2.41s
p99
2.41s

DAX

December 4, 2026

CodeSandbox

0% success

No measured time in this run.

Pethost

100% success
Median
73.08s

Weekly scores

CodeSandbox and Pethost have no weekly benchmark where both have a score. Scores out of 100 from ComputeSDK's private benchmarks, published December 4, 2026. Daily runs and logs stay private. Weekly scores don't count toward the head-to-head above. A pair without shared public runs gets a page when both providers have scores in at least 3 of these benchmarks.

  • Creating and restoring a filesystem snapshot, including verification of restored files.
    Not compared
    CodeSandbox
    55.65#26 of 37
    Pethost
    —no score
  • Operating-system capabilities available inside the sandbox.
    Not compared
    CodeSandbox
    96.92#2 of 37
    Pethost
    —no score
  • Readiness and continued availability after creating many sandboxes at once.
    Not compared
    CodeSandbox
    94.92#30 of 37
    Pethost
    —no score
  • Capabilities needed to run CI workloads inside a sandbox.
    Not compared
    CodeSandbox
    84.57#26 of 37
    Pethost
    —no score
  • Extra CPU capacity available when a workload exceeds its provisioned CPU allocation.
    Not compared
    CodeSandbox
    65.49#18 of 37
    Pethost
    —no score
  • Single-core and multi-core CPU throughput inside the sandbox.
    Not compared
    CodeSandbox
    20.46#25 of 37
    Pethost
    —no score
  • Whether files and application state survive a snapshot and restore correctly.
    Not compared
    CodeSandbox
    54.88#24 of 37
    Pethost
    —no score
  • Throughput of filesystem operations performed through the provider API.
    Not compared
    CodeSandbox
    32.00#24 of 37
    Pethost
    —no score
  • Pausing and resuming a sandbox while preserving its state.
    Not compared
    CodeSandbox
    69.89#23 of 37
    Pethost
    —no score
  • Read, write and filesystem-operation performance on the sandbox's root disk.
    Not compared
    CodeSandbox
    34.15#35 of 37
    Pethost
    —no score
  • Creating multiple independent sandboxes from the same snapshot.
    Not compared
    CodeSandbox
    63.88#25 of 37
    Pethost
    —no score
  • Creating a snapshot and restoring a new sandbox from it.
    Not compared
    CodeSandbox
    61.16#26 of 37
    Pethost
    —no score
  • Long-running sandbox availability and data integrity under a sustained workload.
    Not compared
    CodeSandbox
    99.94#9 of 37
    Pethost
    —no score
Work at CodeSandbox or Pethost? See where you stand every day, with full run logs, not just on benchmark Friday.Get stealth benchmarks

Methodology

  • One workload, every provider. The same script, payload, and model hit every provider, addressed the way its own API expects. Nobody gets a tuned or special path.
  • Repeated on a schedule. Every suite runs many iterations per provider, automated on a recurring schedule, so results reflect steady state rather than one lucky request.
  • Raw results published. Every run is committed as JSON to the public benchmarks repo, next to the code that produced it. Nothing is cherry-picked or held back.
  • How this comparison is built. Each benchmark compares the two providers' medians; results within 5% count as roughly even. A comparison is published when both providers have at least one successful run in the same benchmark from the last 30 days. A benchmark only gets a verdict when both providers completed at least 50% of its runs. If a provider’s latest run of a benchmark failed, its most recent successful run from that window is used instead.
Read the full methodology

Frequently asked questions

Have another question? Email us.

Pethost was faster in the only sandbox benchmark with a speed verdict. In Burst TTI (December 4, 2026), Pethost had a median time to interactive of 2.07s versus 10.40s for CodeSandbox, 5.02x faster.

Both providers have results in 2 sandbox benchmarks: Burst TTI and DAX. 1 of them has a speed verdict.

Success rates in the latest runs: Burst TTI: CodeSandbox 100%, Pethost 100%; DAX: CodeSandbox 0%, Pethost 100%. DAX has no speed verdict because CodeSandbox completed fewer than half of its runs; Pethost's median total workload time was 73.08s.

Burst TTI and DAX results are from December 4, 2026.

CodeSandbox and Pethost have no weekly benchmark where both have a score. Scores from the December 4, 2026 weekly publication: Sandbox Filesystem Snapshot & Restore: CodeSandbox 55.65, Pethost no score; Sandbox OS Capabilities: CodeSandbox 96.92, Pethost no score; Sandbox Burst Survival: CodeSandbox 94.92, Pethost no score; Sandbox CI Capabilities: CodeSandbox 84.57, Pethost no score; Sandbox CPU Burst: CodeSandbox 65.49, Pethost no score; Sandbox CPU: CodeSandbox 20.46, Pethost no score; Sandbox Fidelity: CodeSandbox 54.88, Pethost no score; Sandbox Filesystem API Throughput: CodeSandbox 32.00, Pethost no score; Sandbox Pause Resume: CodeSandbox 69.89, Pethost no score; Sandbox Rootfs: CodeSandbox 34.15, Pethost no score; Sandbox Snapshot Fanout: CodeSandbox 63.88, Pethost no score; Sandbox Snapshot: CodeSandbox 61.16, Pethost no score; Sandbox Soak: CodeSandbox 99.94, Pethost no score. No score means the provider wasn't measured, failed or doesn't support Sandbox Filesystem Snapshot & Restore, Sandbox OS Capabilities, Sandbox Burst Survival, Sandbox CI Capabilities, Sandbox CPU Burst, Sandbox CPU, Sandbox Fidelity, Sandbox Filesystem API Throughput, Sandbox Pause Resume, Sandbox Rootfs, Sandbox Snapshot Fanout, Sandbox Snapshot, and Sandbox Soak.