We use cookies to understand how people use Depot.
← All Posts

Now available: Cache statistics

Written by
Kyle Galbraith
Published on
17 March 2023
See how much of your builds are cached and how much time that saves you and your team. In addition, monitor how much provisioned cache you are using for each build architecture.
Now available: Cache statistics banner

We're excited to release the first version of cache statistics for your builds 🎉

As a remote build service, we're uniquely positioned to surface interesting insights about builds. For example, one of the biggest requests from folks using Depot is to see how much time is spent in each step of the build process.

Today, we are releasing the first version of this idea, and we will be expanding it over time.

Depot cache statistics

Here we are surfacing how much of your build was cached and how much time that actually saved from the total build time. We can see that my three latest builds are 100% cached, resulting in a savings of 27, 53, and 53 seconds for a total savings of over two minutes in the past three builds.

When you hover over the cache percentage, we show you the count of how many steps of your build were cached versus uncached.

Depot cache steps stats

For this build, 8 of the 14 steps were cached, a hit percentage of 57% and a savings of 27 seconds.

In the coming weeks, we will add even more insights, including time saved and cache hit percentage over time, finer-grained insights about cache contents, and hotspot analysis showing the build steps contributing the most time to your build.

Depot cache used

Lastly, we've added the ability to see how much of your cache space you have used for both Intel and Arm. Behind the scenes, we automatically evict old cache on a garbage collection loop, but it's still helpful to know how much of your cache space you are actually using.

We are excited to add more information about your builds and cache usage over time. If you have any feedback or suggestions, please reach out to us and let us know.

Build Docker containers 40x faster
Get started for free →