GitHub Actions Benchmark
PostHog
PostHog/posthogPostHog is an open-source product analytics suite, built for engineers. Automatically track every event on your website or app, understand your users and how to improve your product, deploy on your own infrastructure to keep control of your data.
With
depot build
, the past 10 runs were2.1x faster
saving a total of
31m 3s
compared to
docker build
.About the benchmark
For every commit to PostHog/posthog, 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
feat(data-warehouse): modeling ui (#24587)
Depot
1m 57s / 48% fasterDocker
3m 46sfeat(kafka-producer): ping kafka brokers (#24836)
Depot
4m 34s / 39% fasterDocker
7m 26schore(frontend): Kill @ant-design/icons (#24817)
Depot
2m 11s / 45% fasterDocker
3m 58sfix(propdefs): push all updates into batch before releasing (#24841)
Depot
3m 56s / 46% fasterDocker
7m 16sfeat: show absolute time in seekbar preview (#24837)
Depot
2m 8s / 2.3x fasterDocker
4m 55sfeat(propdefs): add filtering to allow for gradual rollout (#24820)
Depot
3m 40s / 2.2x fasterDocker
8m 13sfix(hog): bools and numbers are not "empty" (#24835)
Depot
3m 17s / 2.9x fasterDocker
9m 35schore: refactor RedisLimiter to update async out of the hot path (#24818)
Depot
3m 48s / 2.1x fasterDocker
8m 3sfix: rrweb player now has a destroy method (#24826)
Depot
1m 39s / 2.3x fasterDocker
3m 51sfeat: Switch batch exports logging to async (#24819)
Depot
1m 15s / 48% fasterDocker
2m 25sDocker 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-posthog: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-posthog: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-posthog: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-posthog:benchmark
Your builds have never been this quick.
Start building