# Benchmark: Next.js builds 2-142x faster on Avrea than GitHub Actions

3m 23s on GitHub Actions. 1m 23s on Avrea without cache. 1.4 seconds with a warm Turborepo cache. That's 2.4x from the hardware, 142x once caching kicks in.

[All posts](https://avrea.com/blog)

[Blog](https://avrea.com/blog)
[CI/CD](https://avrea.com/category/ci-cd)

3m 23s on GitHub Actions. 1m 23s on Avrea without cache. 1.4 seconds with a warm Turborepo cache. That's 2.4x from the hardware, 142x once caching kicks in.

[Leo Lännenmäki](https://avrea.com/team/leo-lannenmaki)
10 May 2026

Benchmark: Next.js builds 2-142x faster on Avrea than GitHub Actions

On GitHub Actions, a no-cache Next.js build takes 3 minutes 23 seconds. On Avrea, the same build, same 2 vCPU spec: 1 minute 23 seconds without cache, 1.4 seconds with a warm Turborepo cache.

## Why Next.js

[Next.js](https://github.com/vercel/next.js) is a [very popular](https://www.statista.com/statistics/1124699/worldwide-developer-survey-most-used-frameworks-web/) JS framework, and its monorepo uses [Turborepo](https://turborepo.com/) as the build system. That makes it a useful proxy benchmark for any JavaScript monorepo.

Turborepo’s caching is straightforward: hash the task’s inputs, look up the output, and if the output is there, [skip the work](https://turborepo.dev/docs/guides/skipping-tasks).

## How we ran the test

We ran Next.js’s standard Turborepo build on both sides. Node LTS, 2 vCPU runners, pinned Next.js [commit](https://github.com/vercel/next.js/tree/v15.3.1).

| | GitHub Actions | Avrea |
| --- | --- | --- |
| Runner label | `ubuntu-24.04` | `avrea-ubuntu-latest-2-vcpu` |
| vCPU | 2 | 2 |
| RAM | 7.8Gi | 7.8Gi |

For the cached run, Turborepo’s remote cache pointed at [Avrea’s Turborepo remote cache endpoint](https://docs.avrea.com/cache/build-cache/turborepo/). On the no-cache run, Turborepo ran with caching disabled entirely. GitHub Actions has no equivalent cache service. That being said, you could hook up a 3rd party one, like [Vercel Remote Cache.](https://vercel.com/docs/monorepos/remote-caching#vercel-remote-cache)

Three runs per configuration. The Avrea cached builds were very consistent. No-cache runs had a few seconds of jitter.

## Results

| | GitHub Actions | Avrea | Speedup |
| --- | --- | --- | --- |
| **No cache** | 3m 23s | 1m 23s | **2.4x** |
| **With cache** | n/a | **1.4s** | **142x** |

## Why it’s faster

### The hardware (the 2.4x)

A no-cache Next.js build is bundling-heavy: [swc](https://swc.rs/), [esbuild](https://esbuild.github.io/), Next’s compiler, and a fair amount of disk churn for intermediate artifacts. Avrea’s single-core CPU advantage and NVMe disk carry most of the 2.4x.

### The cache (the 142x)

Avrea’s cache backing is co-located. Next.js build with all tasks cached takes 1.4 seconds because that’s roughly how long it takes to read the task outputs back and verify them. Most of those 1.4 seconds is pnpm resolving the workspace plus Node booting. The bundler does close to nothing.

## Other benchmarks in this series

- [Bazel](https://avrea.com/blog/bazel-ci-benchmark) (39.7x)
- [Linux kernel](https://avrea.com/blog/linux-kernel-ci-benchmark) (68x)
- [Ghostty](https://avrea.com/blog/ghostty-nix-ci-benchmark) (27x)
- [Kafka](https://avrea.com/blog/kafka-gradle-ci-benchmark) (6.6x)
- [RisingWave](https://avrea.com/blog/risingwave-sccache-ci-benchmark) (11.5x)

Caching is one lever of several. Our guide to [speeding up GitHub Actions](https://avrea.com/blog/speed-up-github-actions) covers the rest: concurrency groups, matrix sharding, path filtering, and getting Docker layer order right.

## What Avrea is

Avrea [swaps in for GitHub Actions runners](https://avrea.com/ci-runners) with one line of YAML. Change `runs-on: ubuntu-latest` to `runs-on: avrea-ubuntu-latest`.

You get [per-step CPU and memory](https://avrea.com/observability), a searchable log history, and SSH access to running jobs. On Turborepo specifically, the SSH access saves you time when a task hangs deep in the build graph. Inspecting in place is faster than killing the run and starting cold.

Every job runs in an isolated ephemeral VM. [ISO 27001:2022 certified](https://avrea.com/blog/avrea-iso-27001-certified).

[See pricing](https://avrea.com/pricing) or [start free on Avrea →](https://console.avrea.com)

## Explore other articles

- 1 Sept 2026
A guide to GitHub Actions caching
Read
<https://avrea.com/blog/github-actions-cache>

- 27 Aug 2026
How to Speed Up GitHub Actions
Read
<https://avrea.com/blog/speed-up-github-actions>

- 10 Jul 2026
The Fastest GitHub Actions Runners in 2026: CPU Benchmarks Are Half the Story
Read
<https://avrea.com/blog/fastest-github-actions-runners>

## Start shipping with Avrea

[Start free](https://console.avrea.com/)
[Talk to an engineer](https://avrea.com/demo)
