We use cookies to understand how people use Depot.
← Back to home
GitHub Actions Benchmark
Mastodon
mastodon/mastodon
Mastodon 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.
With depot build, the past 10 runs were
122% faster
saving a total of
41m 53s
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.
Docker Workflow
jobs:
benchmark-docker:
name: Build with Docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v1
- uses: docker/build-push-action@v2
with:
tags: depot/benchmark-mastodon:benchmark
cache-from: type=gha
cache-to: type=gha,mode=max
View workflow source
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
View workflow source