Bazel performance guide

Measure and improve Bazel build performance.

Start with the layer that dominates elapsed time, then use build-level evidence to verify that each change improves developer and CI outcomes.

01

Establish the baseline

Measure elapsed time, critical path, action mix, cache behavior, and remote-execution phases before changing flags or infrastructure.

02

Reduce repeated work

Find actions that rebuild unexpectedly and identify the input, command, environment, tool, or platform changes responsible.

03

Tune remote execution

Separate build-graph constraints from scheduler, worker, storage, transfer, and execution constraints.

Investigate your own build data.

Hermetiq connects Bazel and Buildbarn telemetry to the answers your engineers and AI agents need.

Technical review: July 20, 2026 · Verify flags and behavior against the versions deployed in your environment.