⚡ Introducing Depot Cache — Up to 20x faster builds for Bazel, Gradle, Turborepo, sccache, and Pants
⚡ Introducing Depot Cache
GitHub Actions Benchmark
Mastodon
mastodon/mastodonMastodon is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones. On Mastodon, users can publish anything they want: links, pictures, text, video. All Mastodon servers are interoperable as a federated network.
This is a multi-architecture benchmark, it built an Intel (linux/amd64) and Arm (linux/arm64) image.
With
depot build
, the past 10 runs were27.3x faster
saving a total of
13h 2m 17s
compared to
docker build
.About the benchmark
For every commit to mastodon/mastodon, GitHub Actions runs one workflow job building the project with the
docker/build-push-action
action and caching enabled and one workflow job building the project with depot build
. The time each job takes is recorded and visualized here.Last 10 GitHub Actions Runs
API for updating attribution domains (#32730)
Depot
2m 26s / 24.2x fasterDocker
58m 48sAdd coverage for `AnnualReport.prepare` method (#33618)
Depot
2m 52s / 20.3x fasterDocker
58m 10sUpdate dependency concurrent-ruby to v1.3.5 (#33610)
Depot
3m 3s / 18.9x fasterDocker
57m 46sUpdate dependency aws-sdk-s3 to v1.178.0 (#33611)
Depot
3m 21s / 17.4x fasterDocker
58m 8sCollect errors in setup rake task (#33603)
Depot
2m 53s / 19.7x fasterDocker
56m 40sBump version to v4.4.0-alpha.2 (#33615)
Depot
2m 39s / 46.9x fasterDocker
2h 4m 18sMerge commit from fork
Depot
2m 39s / 47x fasterDocker
2h 4m 31sNew Crowdin Translations (automated) (#33609)
Depot
3m 11s / 39.4x fasterDocker
2h 5m 19sConvert `auth/setup` spec controller->system/request (#33604)
Depot
3m 49s / 32.7x fasterDocker
2h 4m 59sPromote `Style/WordArray` rule out of todo into main config (#33580)
Depot
2m 55s / 8x fasterDocker
23m 26sDocker Workflow
jobs:
benchmark-docker:
name: Build with Docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-qemu-action@v2
- uses: docker/build-push-action@v2
with:
tags: depot/benchmark-mastodon:benchmark
platforms: linux/amd64,linux/arm64
View workflow source benchmark-docker:
name: Build with Docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-qemu-action@v2
- uses: docker/build-push-action@v2
with:
tags: depot/benchmark-mastodon:benchmark
platforms: linux/amd64,linux/arm64
Depot Workflow
jobs:
benchmark-depot:
name: Build with Depot
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: depot/setup-action@v1
- uses: depot/build-push-action@v1
with:
tags: depot/benchmark-mastodon:benchmark
platforms: linux/amd64,linux/arm64
View workflow source benchmark-depot:
name: Build with Depot
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: depot/setup-action@v1
- uses: depot/build-push-action@v1
with:
tags: depot/benchmark-mastodon:benchmark
platforms: linux/amd64,linux/arm64
Your builds have never been this quick.
Start building