All benchmarks

Cargo benchmark

Rust package manager and build tool. 3 recorded observations in this series.

Evidence reviewed 2026-10-15. Each observation contains one run per platform.

Historical measurements. These runs are not qualified as current-release or typical performance. Both commands use the committed lockfile. Equal vCPU counts do not match CPU model or per-core speed.

Workload

cargo test --workspace --locked --exclude cargo --exclude benchsuite --exclude resolver-tests

Rust 1.98.0 · locked dependencies

Repository
rust-lang/cargo
Source commit
98a09e7e7d62850f14e5b6132101fc1edd19a16f

Measurements

Cold

2026-10-08 · 4 vCPU per side · One run per side

One cold run per platform. No build output was restored on either side.

34.4% less time to result on Sorus in this run.

Sorus104.49 s

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted159.17 s

4 vCPU / 16 GB · AMD EPYC 7763 64-Core Processor

Sorus: client invocation to result. GitHub: job creation to command exit, excluding benchmark harness overhead. Both include queueing. Timing boundaries.

Cache configuration and timing breakdown

Sorus

None: every job boots a fresh guest from the release image with no build cache, no target directory and no Cargo home; a job under the gateway policy fetches its dependencies through its own endpoint

Build-output reuse: none reported

  • Warm build state: the job recorded none
  • Compiler cache: the job reported no compile telemetry
  • Build injections: the job recorded none
Recorded component times
ComponentDuration
Submission7.83 s
Queue0.35 s
Provisioning10.12 s
Execution83.87 s
Result delivery2.32 s

Measurement gaps

  • Provisioning is not split into machine start and source delivery to the guest: the job record stores no platform_timing segments
  • Execution is not split into toolchain, dependency resolution, build and test: the job record marks only its start and end
  • Submission and result-delivery each span the harness's clock and the platform's; the offset between the two clocks is not measured

GitHub-hosted

None: no cache step; the job checks out the benchmark harness repository for the entry file and runs this harness, with no actions/cache, rust-cache or sccache step and no restored Cargo home or target directory

Build-output reuse: not recorded

Recorded component times
ComponentDuration
Queue2.00 s
Job setup2.00 s
Harness overheadExcluded from score2.44 s
Checkout1.02 s
Toolchain8.47 s
Toolchain readExcluded from score0.01 s
Command145.68 s

Measurement gaps

  • The time from a developer's push to GitHub creating the job: the benchmark is dispatched, not pushed, so the harness has no push to time and starts at the job's created_at
  • The part that ends at the harness's checkout starts on GitHub's clock and ends on the runner's; the offset between the two clocks is not measured
  • The command is not split into dependency resolution, build and test

Component times are diagnostic. They can span different clocks, and their sum can differ slightly from the scored duration. Missing components are not zero.

Source record SHA-256: d233b07ff1d10e645adfdd6535ecc734e927bca19026e785b6403c22c4feca58

After a source change

2026-10-08 · 4 vCPU per side · One run per side

One comment was added after the Sorus priming run. Sorus reported no reused build output. This is a changed-source run, not evidence of warm-cache acceleration.

54.0% less time to result on Sorus in this run.

Sorus74.64 s

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted162.12 s

4 vCPU / 16 GB · AMD EPYC 9V74 80-Core Processor

Sorus: client invocation to result. GitHub: job creation to command exit, excluding benchmark harness overhead. Both include queueing. Timing boundaries.

Source change: one comment appended to crates/cargo-util/src/lib.rs. The exact patch and digest are included in the download.

Cache configuration and timing breakdown

Sorus

Automatic only: whatever warm build state, compiler cache and build injections the platform applies with no repository configuration and no client option; the record lists what the measured job reported reusing

Build-output reuse: none reported

  • Warm build state: the job recorded none
  • Compiler cache: the job reported no compile telemetry
  • Build injections: the job recorded none
Recorded component times
ComponentDuration
Submission6.43 s
Queue0.40 s
Provisioning9.84 s
Execution57.06 s
Result delivery0.91 s

Measurement gaps

  • Provisioning is not split into machine start and source delivery to the guest: the job record stores no platform_timing segments
  • Execution is not split into toolchain, dependency resolution, build and test: the job record marks only its start and end
  • Submission and result-delivery each span the harness's clock and the platform's; the offset between the two clocks is not measured

GitHub-hosted

None: rust-lang/cargo's own CI has no cache step: main.yml has no cache step, and neither has audit.yml, contrib.yml or release.yml (.github/workflows/main.yml job test at 98a09e7e7d62850f14e5b6132101fc1edd19a16f, blob 8ebd281b6008ceb8023612d5b7c472384ed04e24), so the hosted side has no cache step and no priming job, and its measured run is one ordinary run after the declared change

Build-output reuse: none reported

  • rust-lang/cargo's own CI has no cache step: main.yml has no cache step, and neither has audit.yml, contrib.yml or release.yml (.github/workflows/main.yml job test at 98a09e7e7d62850f14e5b6132101fc1edd19a16f, blob 8ebd281b6008ceb8023612d5b7c472384ed04e24)
Recorded component times
ComponentDuration
Queue3.00 s
Job setup2.00 s
Harness overheadExcluded from score4.93 s
Checkout1.92 s
Toolchain8.56 s
Toolchain readExcluded from score0.02 s
Command146.63 s

Measurement gaps

  • The time from a developer's push to GitHub creating the job: the benchmark is dispatched, not pushed, so the harness has no push to time and starts at the job's created_at
  • The part that ends at the harness's checkout starts on GitHub's clock and ends on the runner's; the offset between the two clocks is not measured
  • The command is not split into dependency resolution, build and test

Component times are diagnostic. They can span different clocks, and their sum can differ slightly from the scored duration. Missing components are not zero.

Source record SHA-256: e229cf857fc3f28cf29bffeafbc3b19c544f500c166be41794e421669ed6bf21

Cold

2026-10-07 · 4 vCPU Sorus / 2 vCPU GitHub · One run per side

One cold run per platform. No build output was restored on either side.

Sorus110.47 s

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted264.12 s

2 vCPU / 8 GB · AMD EPYC 7763 64-Core Processor

Sorus: client invocation to result. GitHub: job creation to command exit, excluding benchmark harness overhead. Both include queueing. Timing boundaries.

Cache configuration and timing breakdown

Sorus

None: every job boots a fresh guest from the release image with no build cache, no target directory and no Cargo home; a job under the gateway policy fetches its dependencies through its own endpoint

Build-output reuse: none reported

  • Warm build state: the job recorded none
  • Compiler cache: the job reported no compile telemetry
  • Build injections: the job recorded none
Recorded component times
ComponentDuration
Submission11.30 s
Queue0.74 s
Provisioning10.07 s
Execution86.50 s
Result delivery1.86 s

Measurement gaps

  • Provisioning is not split into machine start and source delivery to the guest: the job record stores no platform_timing segments
  • Execution is not split into toolchain, dependency resolution, build and test: the job record marks only its start and end
  • Submission and result-delivery each span the harness's clock and the platform's; the offset between the two clocks is not measured

GitHub-hosted

None: no cache step; the job checks out the benchmark harness repository for the entry file and runs this harness, with no actions/cache, rust-cache or sccache step and no restored Cargo home or target directory

Build-output reuse: not recorded

Recorded component times
ComponentDuration
Queue3.00 s
Job setup2.00 s
Harness overheadExcluded from score4.95 s
Checkout1.33 s
Toolchain7.71 s
Toolchain readExcluded from score0.01 s
Command250.07 s

Measurement gaps

  • The time from a developer's push to GitHub creating the job: the benchmark is dispatched, not pushed, so the harness has no push to time and starts at the job's created_at
  • The part that ends at the harness's checkout starts on GitHub's clock and ends on the runner's; the offset between the two clocks is not measured
  • The command is not split into dependency resolution, build and test

Component times are diagnostic. They can span different clocks, and their sum can differ slightly from the scored duration. Missing components are not zero.

Source record SHA-256: 352e8a341daca5a89a0e6a06e707c71284a98f44a1b17d40fad96b34a2172e9f

Public downloads contain an allowlisted summary and original source digests. Full execution bundles remain internal. These observations cover one Sorus host and do not establish fleet, concurrency or customer-price comparisons. Measured projects are not implied customers or endorsers.
Back to all benchmarks