All benchmarks

Diesel benchmark

Database query builder and ORM. 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. The project has no committed lockfile; matching resolved dependency versions were not independently verified. Equal vCPU counts do not match CPU model or per-core speed.

Workload

cargo check --workspace

Rust 1.98.0 · independently resolved dependencies

Repository
diesel-rs/diesel
Source commit
14a8d3a5fc9ed28b1cda6c08d5e8d9dfdbdd8d72

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.

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

Sorus111.06 s

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted275.37 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
Submission3.10 s
Queue0.46 s
Provisioning9.37 s
Execution96.61 s
Result delivery1.53 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
Queue71.00 s
Job setup3.00 s
Harness overheadExcluded from score4.21 s
Checkout0.84 s
Toolchain7.65 s
Toolchain readExcluded from score0.02 s
Command192.88 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: 8240c090038a9ea0425643b30d525d903ac7f75bfb21cc0fcf37fd375eb52aad

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.

Sorus102.27 s

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted41.73 s

4 vCPU / 16 GB · Intel(R) Xeon(R) 6973P-C

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 diesel/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
Submission3.08 s
Queue0.44 s
Provisioning9.62 s
Execution87.80 s
Result delivery1.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

The cache step of diesel-rs/diesel's own CI, Swatinem/rust-cache@f51f967e158417aafa338a1e46ab22095f07aa01 # v2.8.2: the step passes key: ${{ matrix.os }}-${{ matrix.backend }}-cargo-${{ hashFiles('**/Cargo.toml') }}, one more part of the cache key, which a change to one source file leaves as it was; the pinned commit is an ancestor of v2.9.2, 40 commits earlier (.github/workflows/ci.yml job check_and_test at 14a8d3a5fc9ed28b1cda6c08d5e8d9dfdbdd8d72, blob 2e5b39eafdbbb570970d94942a323ae579de6159), run as Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 (v2.9.2) with its defaults, workspaces `<checkout> -> target` and a shared-key per entry, so the measured job restores what the priming job saved: ~/.cargo's registry, git database and bin, and the target directory's dependency artifacts (it prunes workspace crates before saving); it sets CARGO_INCREMENTAL=0

Build-output reuse: reported

  • Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6: an exact key hit
  • target/debug/deps held 437 files before the command
Recorded component times
ComponentDuration
Queue3.00 s
Job setup2.00 s
Harness overheadExcluded from score4.73 s
Checkout0.97 s
Toolchain8.44 s
Toolchain readExcluded from score0.01 s
Cache restore3.88 s
Harness restartExcluded from score0.00 s
Command23.44 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
  • prepare-hosted's write of its state file and its exit, the harness's own work, end at no recorded instant, so they stay inside cache-restore
  • 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: 32bc6fd2fd02629e4ef15971d4009dd61141eb83520b4a987e9557230a47ae11

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.

Sorus113.44 s

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted351.01 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
Submission3.85 s
Queue0.51 s
Provisioning9.23 s
Execution99.09 s
Result delivery0.77 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 setup4.00 s
Harness overheadExcluded from score3.31 s
Checkout0.85 s
Toolchain7.85 s
Toolchain readExcluded from score0.02 s
Command336.31 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: 103f1ce3d68e20b6371bb22b7bd44c963397e1b729312310e2a35c9ecd0bfe8d

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