> ## Documentation Index
> Fetch the complete documentation index at: https://docs.archil.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CI runners vs GitHub-hosted runners

> Six open-source builds on Archil CI runners and on GitHub-hosted ubuntu-latest, 6 runs each: job duration, pickup time, and cost per job.

We ran six open-source CI workloads on GitHub's standard `ubuntu-latest` runner and on an equal-size
[Archil CI runner](https://docs.archil.com/compute/ci-runners.md), 6 times each, on November 25, 2026. Archil was faster on every workload and
cheaper on every workload. GitHub picked jobs up about 4 seconds sooner and needed less toolchain setup.

## Results

Medians of 6 runs per runner. Speedup is GitHub's job duration divided by Archil's. Cost is list price per job.

| Workload | GitHub | Archil | Speedup | Pickup, GitHub / Archil | Cost per job, GitHub / Archil |
| - | - | - | - | - | - |
| Node: [vuejs/core](https://github.com/vuejs/core) v3.5.13 install, build, test | 156s | 83s | 1.9× | 1.5s / 6s | $0.018 / $0.0069 |
| Python: [httpx](https://github.com/encode/httpx) 0.27.2 install, mypy, pytest | 42s | 35s | 1.2× | 2s / 5.5s | $0.006 / $0.0033 |
| Docker: [excalidraw](https://github.com/excalidraw/excalidraw) v0.18.0 multi-stage build | 136s | 75s | 1.8× | 2s / 6s | $0.018 / $0.0063 |
| Docker `services:` Postgres 17 and pgbench | 72s | 56s | 1.3× | 2s / 6s | $0.012 / $0.0048 |
| Rust: [ripgrep](https://github.com/BurntSushi/ripgrep) 14.1.1 `cargo build --release` | 62s | 34s | 1.8× | 2s / 6s | $0.012 / $0.0032 |
| Go: [Caddy](https://github.com/caddyserver/caddy) v2.10.2 deps, build, tests | 131s | 72s | 1.8× | 2s / 5s | $0.018 / $0.0060 |
| **One of each** | **599s** | **355s** | **1.7×** | | **$0.084 / $0.031** |

* **Faster on every workload,** and in 35 of 36 paired runs. The exception was one Python run where GitHub drew a fast
  host. Compile, bundle, and test phases ran about 2× faster, up to 2.6× for the Rust compile.
* **Cheaper on every workload,** by 1.8× (Python) to 3.8× (Rust), and 2.7× across one of each.
* **More consistent.** Archil's job durations varied by 2–7 seconds per workload. GitHub's varied by 15–63 seconds,
  mostly depending on which of seven CPU models the job landed on.
* **Postgres throughput:** 40 of that job's seconds are fixed-length pgbench runs, so compare throughput instead.
  Archil ran 2.6× the read-only TPS (39.4k vs 15.1k) and 2.5× the read-write TPS (3,964 vs 1,618).

### Where GitHub wins

* **Pickup:** GitHub started jobs 2 seconds after they were queued (median), Archil after 5–6 seconds, and up to 13
  seconds for the first job after an idle period.
* **Preinstalled toolchains:** GitHub's image already has Node, Python, Rust, and Go, so setup actions take about a
  second. On Archil they download the toolchain, which takes 3–7 seconds.

Together that's about 8–10 seconds of fixed overhead per job. On the shortest workload, Python, with about 25 seconds of
real work, Archil won back only 4 seconds. Jobs much shorter than that can finish sooner on GitHub.

## A larger runner

We also ran each workload 3 times on a 4 vCPU, 8 GiB Archil runner. This isn't an equal-size comparison, and it isn't
one of today's [runner labels](https://docs.archil.com/compute/ci-runners.md#runner-labels): `archil-ubuntu-24.04-4cpu` has 16 GiB.

| Workload | 4 vCPU duration | vs Archil 2 vCPU | vs GitHub |
| - | - | - | - |
| Node | 48s | 1.7× faster | 3.3× faster |
| Python | 35s | same | 1.2× faster |
| Docker build | 65s | 1.2× faster | 2.1× faster |
| Rust | 24s | 1.4× faster | 2.6× faster |
| Go | 46s | 1.6× faster | 2.8× faster |

Builds that parallelize (Node, Rust, Go) gain the most from more vCPUs. The Python job and the Docker build didn't
scale with cores here.

## Method

| | GitHub `ubuntu-latest` | Archil CI runner |
| - | - | - |
| Size | 2 vCPU (1 core × 2 threads), 8 GB | 2 vCPU (2 cores × 1 thread), 8 GiB |
| Machine | Fresh VM per job from a pre-booted pool; seven different AMD and Intel CPU models across the runs | Firecracker microVM booted per job, AMD EPYC, `aws-us-west-2` |
| OS | Ubuntu 26.04, kernel 7.0 | Ubuntu 24.04, kernel 6.18 |
| Toolchains | Preinstalled | Downloaded by the same setup actions |

* **No caches on either side.** Each project was cloned at a pinned tag with `--depth 1`, with no dependency, build,
  or Docker layer cache (`docker build --no-cache`). Toolchain versions were identical on both runners.
* **Paired runs.** Each workflow ran both runners at the same moment, once per round. Rounds were 75 seconds apart per
  workflow, 8 minutes between rounds, from 16:37 to 18:03 UTC on a weekday.
* **Metrics** come from the GitHub Actions API: pickup is `started_at − created_at`, and job duration is
  `completed_at − started_at`, including checkout, setup actions, and cleanup.
* **Cost per job** at list price. GitHub: Linux 2-core at $0.006 per minute, with each job rounded up to a whole minute.
  Archil: [sandbox compute](https://docs.archil.com/administration/billing.md) at $0.055 per vCPU-hour and $0.020 per GiB-hour ($0.27 per hour
  for 2 vCPU and 8 GiB), for pickup plus job duration plus 3 seconds. That slightly overstates Archil's cost, because
  pickup includes time before the sandbox exists.

### Caveats

* **GitHub incident:** an incident affecting Actions ran from 15:55 to 16:52 UTC. The first round started after GitHub
  marked Actions mitigated, and the Actions component was operational at every dispatch. Dropping that round changes no
  median by more than 8 seconds.
* **Failures:** 1 of 90 measured jobs failed, an Archil Docker build, because of a bug in the benchmark script. The
  build itself had finished in line with the other runs.
* **Network:** install phases download from npm, PyPI, crates.io, Docker Hub, and GitHub, so they measure each runner's
  network path as well as its CPU. The compile and test phases alone show the same roughly 2× gap.
* **Not tested:** GitHub's larger hosted runners, and pipelines with warm caches.
* **Uploads:** GitHub doesn't charge for transfer out of its runners. On Archil, saving a large cache or artifact is
  [data transfer out](https://docs.archil.com/administration/billing.md#data-transfer) at \$0.07 per GB, which these benchmarks don't include.

The benchmark workflows will be published with the open-source runner adapter. If your results differ, email
[support@archil.com](mailto:support@archil.com) with your workflow run.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.