Skip to content

Remove IDynamicFileInfo-added syntax trees to attempt to improve perf#60531

Merged
jasonmalinowski merged 1 commit intodotnet:release/dev17.2from
jasonmalinowski:do-not-pass-idynamicfileinfo-files-to-generators
Apr 11, 2022
Merged

Remove IDynamicFileInfo-added syntax trees to attempt to improve perf#60531
jasonmalinowski merged 1 commit intodotnet:release/dev17.2from
jasonmalinowski:do-not-pass-idynamicfileinfo-files-to-generators

Conversation

@jasonmalinowski
Copy link
Copy Markdown
Member

This is a tactical hack which aims to address some of the CPU overhead that we were seeing in #59818.

Closes #59818

@ghost ghost added the Area-IDE label Apr 2, 2022
@jasonmalinowski jasonmalinowski self-assigned this Apr 4, 2022
@jasonmalinowski jasonmalinowski changed the base branch from main to release/dev17.2 April 4, 2022 23:05
@jasonmalinowski jasonmalinowski force-pushed the do-not-pass-idynamicfileinfo-files-to-generators branch from 2e6f2b3 to 22160e9 Compare April 4, 2022 23:13
@jasonmalinowski
Copy link
Copy Markdown
Member Author

Marking this as ready for review; and writing up the QB side of things; my intent is still to get a unit test added before merging.

Copy link
Copy Markdown
Member

@davidwengier davidwengier left a comment

Choose a reason for hiding this comment

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

If we define dynamic files as being files that don't get passed to generators, then this isn't a hack!
TheMoreYouKnowGIF

@jasonmalinowski
Copy link
Copy Markdown
Member Author

@davidwengier A bit of a retcon, but sure, I'll take it. 😄

This is a tactical hack which aims to address some of the CPU overhead
that we were seeing in dotnet#59818.

Closes dotnet#59818
@jasonmalinowski jasonmalinowski force-pushed the do-not-pass-idynamicfileinfo-files-to-generators branch from 22160e9 to fb7998f Compare April 9, 2022 01:07
@jasonmalinowski jasonmalinowski merged commit 8b5c5b8 into dotnet:release/dev17.2 Apr 11, 2022
@jasonmalinowski jasonmalinowski deleted the do-not-pass-idynamicfileinfo-files-to-generators branch April 11, 2022 23:58
@sharwell sharwell modified the milestones: 17.2, 17.2.P4 May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typing in Razor files breaks C# incrementality resulting in high CPU & memory usage

5 participants