⚡ 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 were20% faster
saving a total of
10m 34s
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: support branching in survey preview submit (#27623)
Depot
2m 17s / 2.2x fasterDocker
4m 55schore: unique upload file names (#27750)
Depot
55s / 96% slowerDocker
28schore: no const fns with send bounds (#27749)
Depot
5m 8s / 37% fasterDocker
8m 11schore(deps): Update posthog-js to 1.207.2 (#27745)
Depot
6m 45s / 24% slowerDocker
5m 26sfix: playback scene snags (#27662)
Depot
7m 44s / 59% slowerDocker
4m 52sfix: Add Vary headers to cors response (#27728)
Depot
6m 13s / 110% slowerDocker
2m 58schore(devex): hogvm into common folder (#27721)
Depot
6m 9s / 2.2x fasterDocker
13m 14sfix: Drop unset events if the format is incorrect (#27730)
Depot
2m 49s / 30% fasterDocker
4m 2schore(data-warehouse): Added more errors to turn schemas off on (#27716)
Depot
1m 33s / 2.2x fasterDocker
3m 27sfeat(dashboards): Add breakdown button to dashboard filters (#27690)
Depot
2m 9s / 2.2x fasterDocker
4m 43sDocker 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