# Diesel benchmark

> Recorded Diesel build and test results on Sorus and GitHub: timings, source revision, hardware, cache behavior and measurement history.

Source: https://www.sorus.run/benchmarks/diesel

[All benchmarks](https://www.sorus.run/benchmarks)

Database query builder and ORM. 3 recorded observations in this series.

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

[Download repository data](https://www.sorus.run/benchmarks/data/diesel.json)[Measurement method](https://www.sorus.run/benchmarks/methodology)

**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](https://github.com/diesel-rs/diesel)Source commit[14a8d3a5fc9ed28b1cda6c08d5e8d9dfdbdd8d72](https://github.com/diesel-rs/diesel/commit/14a8d3a5fc9ed28b1cda6c08d5e8d9dfdbdd8d72)

## Measurements

[2026-10-08 · Cold · 4 vCPU per side](https://www.sorus.run/benchmarks/diesel#2026-10-08-cold-4)[2026-10-08 · After a source change · 4 vCPU per side](https://www.sorus.run/benchmarks/diesel#2026-10-08-warm-4)[2026-10-07 · Cold · 4 vCPU Sorus / 2 vCPU GitHub](https://www.sorus.run/benchmarks/diesel#2026-10-07-cold-default)

### 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.

Sorus**111.06 s**

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted**275.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](https://www.sorus.run/benchmarks/methodology#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

| Component | Duration |
| --- | --- |
| Submission | 3.10 s |
| Queue | 0.46 s |
| Provisioning | 9.37 s |
| Execution | 96.61 s |
| Result delivery | 1.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

| Component | Duration |
| --- | --- |
| Queue | 71.00 s |
| Job setup | 3.00 s |
| Harness overheadExcluded from score | 4.21 s |
| Checkout | 0.84 s |
| Toolchain | 7.65 s |
| Toolchain readExcluded from score | 0.02 s |
| Command | 192.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.

Sorus**102.27 s**

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted**41.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](https://www.sorus.run/benchmarks/methodology#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

| Component | Duration |
| --- | --- |
| Submission | 3.08 s |
| Queue | 0.44 s |
| Provisioning | 9.62 s |
| Execution | 87.80 s |
| Result delivery | 1.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

| Component | Duration |
| --- | --- |
| Queue | 3.00 s |
| Job setup | 2.00 s |
| Harness overheadExcluded from score | 4.73 s |
| Checkout | 0.97 s |
| Toolchain | 8.44 s |
| Toolchain readExcluded from score | 0.01 s |
| Cache restore | 3.88 s |
| Harness restartExcluded from score | 0.00 s |
| Command | 23.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.

Sorus**113.44 s**

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted**351.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](https://www.sorus.run/benchmarks/methodology#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

| Component | Duration |
| --- | --- |
| Submission | 3.85 s |
| Queue | 0.51 s |
| Provisioning | 9.23 s |
| Execution | 99.09 s |
| Result delivery | 0.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

| Component | Duration |
| --- | --- |
| Queue | 2.00 s |
| Job setup | 4.00 s |
| Harness overheadExcluded from score | 3.31 s |
| Checkout | 0.85 s |
| Toolchain | 7.85 s |
| Toolchain readExcluded from score | 0.02 s |
| Command | 336.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](https://www.sorus.run/benchmarks)
