Skip to content

Bazel 9's no-op builds now take 3.5s #28373

@rejuvenile

Description

@rejuvenile

Description of the bug:

Previously, on Bazel 8.5.1, my no-op builds (as executed repeatedly and locally) would take about 500 milliseconds. Now, under Bazel 9, they take 3.5 seconds. Eyeballing the UI, most of the time is taken "checking cached actions", but when looking at the profile, I see a mix of delays, which vary per build. Sometimes it's doExtendLeases / findMissingDigests, other times it's BazelWorkspaceStatusAction stable-status.txt / Action execute / actuallyCompleteAction / outputService.finalizeAction. The common denomentator is slowness. My builds use remote execution and caching, but appears to repro. without those features (which makes sense, as everything should be cached locally).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions