Skip to content

Improve NullHtmlEncoder perf #7987

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

Merged
merged 5 commits into from
Mar 5, 2019
Merged

Improve NullHtmlEncoder perf #7987

merged 5 commits into from
Mar 5, 2019

Conversation

sebastienros
Copy link
Member

It's used anywhere IHtmlContent is rendered.

|                      Method |      Mean |     Error |    StdDev | Ratio | Gen 0/1k Op | Gen 1/1k Op | Gen 2/1k Op | Allocated Memory/Op |
|---------------------------- |----------:|----------:|----------:|------:|------------:|------------:|------------:|--------------------:|
|           MvcNullHtmlEncode | 0.9833 ns | 0.0121 ns | 0.0101 ns |  1.00 |           - |           - |           - |                   - |
| InlinedBetterNullHtmlEncode | 0.2979 ns | 0.0147 ns | 0.0138 ns |  0.30 |           - |           - |           - |                   - |

@davidfowl davidfowl added the breaking-change This issue / pr will introduce a breaking change, when resolved / merged. label Feb 27, 2019
@mkArtak
Copy link
Contributor

mkArtak commented Feb 28, 2019

Addresses #8019

@mkArtak
Copy link
Contributor

mkArtak commented Feb 28, 2019

@sebastienros, we track the labels on the issues, so filed one and referenced for that purpose.

@mkArtakMSFT mkArtakMSFT removed the breaking-change This issue / pr will introduce a breaking change, when resolved / merged. label Feb 28, 2019
@pranavkm pranavkm added breaking-change This issue / pr will introduce a breaking change, when resolved / merged. area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels Feb 28, 2019
@analogrelay
Copy link
Contributor

@sebastienros Helix failures should be resolved by a rebase, please rebase asap.

@analogrelay
Copy link
Contributor

analogrelay commented Mar 1, 2019

@sebastienros sebastienros reopened this Mar 2, 2019
analogrelay added a commit that referenced this pull request Mar 2, 2019
@pranavkm pranavkm merged commit b90220a into master Mar 5, 2019
@pranavkm pranavkm deleted the sebros/nullhtmlencoder branch March 5, 2019 22:41
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 breaking-change This issue / pr will introduce a breaking change, when resolved / merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants