⚡ 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 were15.9x faster
saving a total of
17h 43m 10s
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(source-management): table pagination bug (#29082)
Depot
3m 16s / 44.2x fasterDocker
2h 24m 29sfeat(insight-variables): null type for variables (#29031)
Depot
3m 47s / 14.2x fasterDocker
53m 50sfix(experiments): Handle `None` value for `exposure_criteria` (#29066)
Depot
3m 1s / 17.9x fasterDocker
53m 53schore: move settings up (#29076)
Depot
3m 16s / 35.7x fasterDocker
1h 56m 37schore: playwright 16 (#28994)
Depot
9m 52s / 12x fasterDocker
1h 57m 58sdocs(insights): Prevent legacy endpoints from being documented (#29074)
Depot
9m 37s / 12.2x fasterDocker
1h 56m 52sfix(data-warehouse): Revert "chore(data-warehouse): Upgrade deltalake" (#29077)
Depot
10m 18s / 11.6x fasterDocker
1h 59m 49schore: Improve measurement of dw setup (#29071)
Depot
7m 6s / 16.8x fasterDocker
1h 59m 27sfeat(syncs-status-reason): Latest error to syncs tab (#29034)
Depot
11m 14s / 10.4x fasterDocker
1h 56m 31sfix: Salesforce source errors (#29051)
Depot
9m 47s / 17.9x fasterDocker
2h 54m 58sDocker 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