We use cookies to understand how people use Depot.
← Back to home
GitHub Actions Benchmark
PostHog
PostHog/posthog
PostHog 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 were
3.4x faster
saving a total of
43m 8s
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.
Docker 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
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