Thirty times faster to a warm Bazel - insights for 2027 (from BazelCon 2026)¶
Han-Wen Nienhuys presents “Horapha: your personal warm Bazel” at BazelCon 2026
Han-Wen’s talk opens with the sentence every Bazel user knows: "Starting Bazel server." It takes 15 seconds, and with agents running in several git worktrees developers may see it many times a day.
By dumping a Bazel process from a known good state, you can jumpstart arbitrary related builds later on, skipping repeated analysis. This is what powers “warm Bazel” CI runners.
“Warm Bazel” systems typically need a full-blown VM or container management system, such as Podman and Docker. But did you know you need none of that overhead?
With some creative programming, you can run your own personal warm Bazel, right inside your development environment: we present horapha, a little hack that will snapshot and restore the Bazel that you run as your daily driver, allowing you to always have a Bazel server ready to run in each of your source trees, without the memory costs of keeping them running continuously.
In the talk, we see our hero use Claude to tame Bazel into a personal little container, from which we can run CRIU for snapshotting and restoring. Then, he suffers the slings and arrows of outrageous fortune, when performance isn’t quite there yet, only to be rescued by the lz4 support in the latest development release of CRIU.
Nirvana is achieved at a 30x speed-up relative to a cold build.