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

Conversation

jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Feb 15, 2022

This PR backports #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 #9518

Instead of checking whether the dependencies cache is empty, check whether it was instantiated.

Before After
22488ms 3561ms
Microsoft Reviewers: Open in CodeFlow

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 |
@jonthysell jonthysell requested a review from a team as a code owner February 15, 2022 01:57
@jonthysell jonthysell added the AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) label Feb 15, 2022
@ghost
Copy link

ghost commented Feb 15, 2022

Hello @jonthysell!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 10 hours. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 27bb002 into microsoft:0.66-stable Feb 15, 2022
@jonthysell jonthysell deleted the autodep66 branch February 22, 2022 17:39
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Autolinking Area: Developer Experience AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants