⚡ Introducing Depot Cache — Up to 20x faster builds for Bazel, Gradle, Turborepo, sccache, and Pants
⚡ Introducing Depot Cache
GitHub Actions Benchmark
Moby
moby/mobyMoby is an open-source project created by Docker to enable and accelerate software containerization. It provides a "Lego set" of toolkit components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts and professionals to experiment and exchange ideas.
With
depot build
, the past 10 runs were49% faster
saving a total of
5m 7s
compared to
docker build
.About the benchmark
For every commit to moby/moby, 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
Merge pull request #48617 from thaJeztah/update_grpc_options
Depot
21s / 16% fasterDocker
25sMerge pull request #49318 from thaJeztah/unify_some_errdefs
Depot
17s / 35% fasterDocker
26sMerge pull request #49223 from robmry/ipam_with_more_bits
Depot
19s / 32% fasterDocker
28sMerge pull request #49316 from thaJeztah/bump_dev_tools
Depot
39s / 34% fasterDocker
59sMerge pull request #49266 from dvdksn/fromimage-tag-clarification
Depot
19s / 2.3x fasterDocker
44sMerge pull request #49315 from crazy-max/buildkit-0.19.0
Depot
28s / 27% slowerDocker
22sMerge pull request #34143 from thaJeztah/fix-copy-permissions
Depot
26s / 30% slowerDocker
20sMerge pull request #49313 from vvoland/gha-relbranches
Depot
27s / 29% slowerDocker
21sMerge pull request #49311 from thaJeztah/bump_golang_1.23.5
Depot
1m 44s / 3.3x fasterDocker
5m 40sMerge pull request #49299 from thaJeztah/build_no_broken_pipe_errs
Depot
17s / 2.3x fasterDocker
39sDocker 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/build-push-action@v2
with:
tags: depot/benchmark-moby:benchmark
cache-from: type=gha
cache-to: type=gha,mode=max
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/build-push-action@v2
with:
tags: depot/benchmark-moby:benchmark
cache-from: type=gha
cache-to: type=gha,mode=max
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-moby:benchmark
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-moby:benchmark
Your builds have never been this quick.
Start building