# Regex benchmark

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

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

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

Regular expression library. 1 recorded observation in this series.

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

[Download repository data](https://www.sorus.run/benchmarks/data/regex.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 test --workspace`

Rust 1.98.0 · independently resolved dependencies

Repository[rust-lang/regex](https://github.com/rust-lang/regex)Source commit[72d650cb0a880a01ab6dc2137c0888e8f89740f7](https://github.com/rust-lang/regex/commit/72d650cb0a880a01ab6dc2137c0888e8f89740f7)

## Measurements

[2026-10-07 · Cold · 4 vCPU Sorus / 2 vCPU GitHub](https://www.sorus.run/benchmarks/regex#2026-10-07-cold-default)

### 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**201.39 s**

4 vCPU / 16 GiB · AMD EPYC

GitHub-hosted**227.01 s**

2 vCPU / 8 GB · AMD EPYC 9V45 96-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.50 s |
| Queue | 102.71 s |
| Provisioning | 8.82 s |
| Execution | 84.47 s |
| Result delivery | 1.90 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 | 2.00 s |
| Harness overheadExcluded from score | 6.12 s |
| Checkout | 0.99 s |
| Toolchain | 9.47 s |
| Toolchain readExcluded from score | 0.02 s |
| Command | 212.55 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: c1c77b20285c5625f8bb7725c33ab213399837a80aa0ec4b696b7a26ded75ab6

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)
