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 were10.7x faster
saving a total of
3h 55m 57s
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
Indent collection preview cards when displayed in notifications (#38957)
Depot
2m 57s / 46.9x fasterDocker
2h 18m 22sStylelint: Allow leading underscore in CSS variable names (#38966)
Depot
2m 39s / 5.5x fasterDocker
14m 31sRemove legacy emojify function (#38965)
Depot
2m 27s / 5.2x fasterDocker
12m 49sNew profile: Fix link colors in bio and display name overflow (#38964)
Depot
2m 16s / 6x fasterDocker
13m 34sAdd language to collection payload (#38961)
Depot
1m 53s / 7.3x fasterDocker
13m 41sFix #38946 (#38951)
Depot
2m 3s / 7.1x fasterDocker
14m 32sRedirect with interstitial when trying to view a remote collection while logged out (#38941)
Depot
2m 30s / 5.1x fasterDocker
12m 52sFix "New collection" link appearing on other accounts' profiles (#38942)
Depot
3m 1s / 4.4x fasterDocker
13m 13sAdd label to "Why do you want to join" field during sign-up (#38936)
Depot
2m 15s / 6x fasterDocker
13m 35sGlobally install corepack (#34406)
Depot
2m 20s / 5.6x fasterDocker
13m 9sDocker 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