⚡ 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 were3x faster
saving a total of
12m 31s
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 #49551 from thaJeztah/libcontainerd_less_stubbing
Depot
19s / 32% fasterDocker
28sMerge pull request #48638 from robmry/iptables-nft
Depot
45s / 47% fasterDocker
1m 25sMerge pull request #49547 from robmry/test_docker_ingress_jump
Depot
39s / 5% fasterDocker
41sMerge pull request #49546 from thaJeztah/archiver_noshadow
Depot
40s / 42% fasterDocker
1m 9sMerge pull request #49538 from robmry/docker_ingress
Depot
33s / 27% fasterDocker
45sMerge pull request #49545 from robmry/revert_check-config_ipset
Depot
27s / 0% fasterDocker
27sMerge pull request #49530 from robmry/disable_ip_set
Depot
23s / 50% fasterDocker
46sMerge pull request #49535 from vvoland/c8d-fixcontentsize
Depot
19s / 20.1x fasterDocker
6m 22sMerge pull request #49533 from vvoland/c8d-inspectlist-indeximg
Depot
22s / 49% fasterDocker
43sMerge pull request #49518 from robmry/docker_forward_chain
Depot
1m 40s / 3.5x fasterDocker
5m 52sDocker 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