Skip to content

Remove unnecessary caching#45116

Merged
CyrusNajmabadi merged 2 commits intodotnet:masterfrom
CyrusNajmabadi:removeCaching2
Jun 13, 2020
Merged

Remove unnecessary caching#45116
CyrusNajmabadi merged 2 commits intodotnet:masterfrom
CyrusNajmabadi:removeCaching2

Conversation

@CyrusNajmabadi
Copy link
Contributor

This caching system wasn't buying us anything anymore (and we believe is likely incorrect). Even without the cache we go from .7s on first search, to .003s on the second.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner June 12, 2020 19:42
@ryzngard
Copy link
Contributor

Even without the cache we go from .7s on first search, to .003s on the second.

What was this tested on? Roslyn.sln?

Copy link
Contributor

@ryzngard ryzngard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change is as advertised, code looks fine. Could use more information on the perf testing done since this is caching related.

@CyrusNajmabadi
Copy link
Contributor Author

What was this tested on? Roslyn.sln?

Yup!

@CyrusNajmabadi CyrusNajmabadi merged commit 8c3d23d into dotnet:master Jun 13, 2020
@ghost ghost added this to the Next milestone Jun 13, 2020
@CyrusNajmabadi CyrusNajmabadi deleted the removeCaching2 branch June 13, 2020 23:06
@jasonmalinowski
Copy link
Member

Woohoo, thanks @CyrusNajmabadi!

@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants