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 were8.3x faster
saving a total of
2h 39m 48s
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
Remove reference to deprecated TOR setup in docker compose (#41559)
Depot
2m 42s / 4x fasterDocker
10m 55sFix improper use of translation strings in email notification unsubscription page (#41555)
Depot
2m 12s / 5.1x fasterDocker
11m 7sUse bundler version 4.0.24 (#41527)
Depot
2m 11s / 10.5x fasterDocker
22m 52sUpdate redesigned button component files and imports (#41545)
Depot
2m 1s / 5.5x fasterDocker
11m 1sFix misplaced dismiss button in "Who to follow" items (#41546)
Depot
2m 19s / 5.1x fasterDocker
11m 51sMake browser back button close mobile navigation, bottom sheets, and composer (#41544)
Depot
2m 9s / 5.7x fasterDocker
12m 16sRemove deprecated @types/react-immutable-proptypes package (#41454)
Depot
2m 2s / 5.7x fasterDocker
11m 40sNew Crowdin Translations (automated) (#41523)
Depot
1m 59s / 15x fasterDocker
29m 45sUpdate dependency sanitize to v7.0.2 (#41543)
Depot
1m 57s / 16.2x fasterDocker
31m 31sAdd schema.org markup to SEO-enabled profiles (#41505)
Depot
2m 17s / 12.5x fasterDocker
28m 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/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