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

[0.66] fix(cli): fix cache not being used when there are no dependencies #9550

Merged
1 commit merged into from
Feb 15, 2022

Commits on Feb 15, 2022

  1. [0.66] fix(cli): fix cache not being used when there are no dependencies

    This PR backports microsoft#9522 to 0.66.
    
    - Bug fix (non-breaking change which fixes an issue)
    This addresses a perf regression in autolinking when there are no dependencies to link.
    
    Resolves microsoft#9518
    
    Instead of checking whether the dependencies cache is empty, check whether it was instantiated.
    
    | Before | After |
    | -: | -: |
    | 22488ms | 3561ms |
    tido64 authored and jonthysell committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    5c13db4 View commit details
    Browse the repository at this point in the history