⚡ Introducing Depot Cache — Up to 20x faster builds for Bazel, Gradle, Turborepo, sccache, and Pants
⚡ Introducing Depot Cache
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 were30% faster
saving a total of
17m 52s
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
chore: bump posthoganalytics (#27703)
Depot
5m 59s / 37% fasterDocker
9m 34srevert: perf(quereies): run queries over websockets (#27576) (#27655)
Depot
6m 16s / 37% fasterDocker
9m 57sfix(web-analytics): Fix opening session attribution explorer from web analytics dashboard (#27700)
Depot
2m / 2.4x fasterDocker
4m 51sfix(cohort): Fix creating static cohort from SQL (#27676)
Depot
1m 58s / 2.4x fasterDocker
4m 46sSmall tweaks to Web Vitals (#27702)
Depot
2m 4s / 2.5x fasterDocker
5m 6sfeat(web-analytics): Add migration for revenue tracking config (#27701)
Depot
2m 17s / 23% fasterDocker
2m 57sfix(view-name-help): Client side validation for view names. (#27706)
Depot
2m 14s / 2.2x fasterDocker
4m 52sfeat(max): Allow typing while Max is thinking (#27679)
Depot
5m 56s / 25% slowerDocker
4m 44sfeat(web-analytics): Use fbclid to calculate channel type (#27686)
Depot
6m 18s / 109% slowerDocker
3m 1schore: upgrade Django to 4.2.17 and Go to 1.23 (#27682)
Depot
6m 27s / 32% fasterDocker
9m 33sDocker 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