Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.4.0] Download BazelRegistryJson only once per registry #19300

Merged
merged 1 commit into from
Aug 22, 2023

Commits on Aug 22, 2023

  1. Download BazelRegistryJson only once per registry

    By caching `BazelRegistryJson` in `IndexRegistry` and caching `IndexRegistry` instances per registry URL, `bazel_registry.json` is only downloaded once per registry instead of once for each module in the final dependency graph in `computeFinalDepGraph`.
    
    On my local machine, this shaves 4s off of the time spent on module resolution for Bazel itself.
    
    Closes bazelbuild#19292.
    
    PiperOrigin-RevId: 558940780
    Change-Id: I89b03a4c246b10f39b89a79852c922a6504f00bf
    fmeum authored and bazel-io committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    bb6ed52 View commit details
    Browse the repository at this point in the history