Skip to content

Conversation

@sharwell
Copy link
Contributor

@sharwell sharwell commented Aug 10, 2021

This pull request addresses some low hanging fruit in AB#1367582.

Each of the first three changes is in the range of 0.5-1.5% improvement. The final change is smaller, but still a trivial fix for 20+MiB allocations.

@sharwell sharwell requested a review from Pilchie as a code owner August 10, 2021 22:20
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 10, 2021
@sharwell
Copy link
Contributor Author

😦 I'm tempted to use object instead of T for FactoryArgument just to avoid the type rename...

Copy link
Contributor

@pranavkm pranavkm left a comment

Choose a reason for hiding this comment

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

Very cool! Thanks for digging in to this.

@pranavkm
Copy link
Contributor

@sharwell looks like more test baselines need to be updated

@Pilchie
Copy link
Member

Pilchie commented Aug 12, 2021

@pranavkm - are you happy here? Should we merge this?

@pranavkm pranavkm merged commit 648353c into dotnet:main Aug 12, 2021
@ghost ghost added this to the 6.0-rc1 milestone Aug 12, 2021
@sharwell sharwell deleted the razor-allocs-3 branch August 12, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants