⚡ Now available: Remote agent sandboxes for Claude Code
⚡ Now available: Remote agents
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 were9.7x faster
saving a total of
8h 23m 17s
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
fix: fix timestamp field checks in source wizard (#39742)
Depot
4m 29s / 9x fasterDocker
40m 10sfix: use 'is' for identity comparison in select query check (#39734)
Depot
4m 21s / 5.3x fasterDocker
23m 3schore(data-warehouse): More non-retryable errors (#39706)
Depot
3m 46s / 10.8x fasterDocker
40m 41schore(flags): Add `last_called_at` field to `FeatureFlag` model (#38962)
Depot
4m 9s / 9.6x fasterDocker
40m 1sfix(data-warehouse): Actually use temp table dataset given (#39725)
Depot
5m 24s / 15.7x fasterDocker
1h 25m 1sfix(data-warehouse): Transform earliest incremental value to the correct type for comparisons (#39731)
Depot
6m 5s / 13.6x fasterDocker
1h 22m 31sfix: Last couple fixes to SDK Doctor (#39737)
Depot
8m 37s / 10.6x fasterDocker
1h 31mrefactor(experiments): shared metric modal refactor for create (#39714)
Depot
6m 12s / 14.2x fasterDocker
1h 28m 4sfix(cohorts): Optimize query for person properties (#39688)
Depot
6m 23s / 5.4x fasterDocker
34m 27sfix: weekly digest toggle (#39721)
Depot
8m 19s / 4.3x fasterDocker
36m 4sDocker 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.
Get started