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

[7.1.0] Optimize prefetchInputs. #20719

Merged
merged 4 commits into from
Jan 8, 2024

Commits on Jan 2, 2024

  1. Optimize prefetchInputs.

    Use a pre-allocated array to hold the intermediate transfers to avoid allocations. Replace some of RxJava code with Futures to avoid RxJava overheads.
    
    This improves the perfromance of prefetchInputs on a large set of inputs from ~400ms to ~16ms.
    
    Fixes bazelbuild#20555.
    
    Closes bazelbuild#20557.
    
    PiperOrigin-RevId: 595226013
    Change-Id: If5296fa6b3c0166b95cfca4281255e523724a41f
    coeuvre authored and bazel-io committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    4bbeded View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    d8529ba View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    4b31a56 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    48dd936 View commit details
    Browse the repository at this point in the history