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 were13.7x faster
saving a total of
6h 43m 23s
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
Fix single gallery from cropping images (#41379)
Depot
2m 40s / 35.4x fasterDocker
1h 34m 31sFix border width too thick on `LoadGap` component (#41378)
Depot
2m 42s / 34.2x fasterDocker
1h 32m 15sAllow toggling CW field even when focused in textarea (#41374)
Depot
3m 33s / 48.5x fasterDocker
2h 52m 16sMore theme colors tweaks (#41369)
Depot
4m 33s / 2.8x fasterDocker
12m 32sStatuses: Make disabled boost button clearer (#41368)
Depot
3m 54s / 3.6x fasterDocker
13m 52sRemove ruby-version matrix check from ES integration testing section (#41367)
Depot
48s / 23% slowerDocker
39sComposer content warning updates (#41364)
Depot
4m 24s / 2.8x fasterDocker
12m 30sAdd spec for webauthn basics (#41361)
Depot
2m 51s / 4.3x fasterDocker
12m 20sFix terms of service and privacy policy API failing on percent signs (#41343)
Depot
3m 19s / 3.9x fasterDocker
12m 49sStatuses: Use new spoiler button for embedded media (#41356)
Depot
3m 7s / 3.7x fasterDocker
11m 30sDocker 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