aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi.../Rendering
Doug Bunting 4cca6b09f0 Reduce allocations during HTML generation
- #3918
- precompute size of `StringBuilder` in `ExpressionHelper`
- reduce `string` allocations in `ViewDataEvaluator`
 - also get rid of `Enumeration` state machines
- reduce the size of a few objects; use more expression-valued properties
 - e.g. don't store `_modelType` in `ModelExplorer`
- add `EmptyArray<TElement>`; make empty arrays consistently `static`
- avoid `string.Split()` in HTML and tag helpers

nits:
- make `ExpressionHelperTest` tests more stringent
- correct `Message` for an `ArgumentNullException`
- remove excess `using`s in classes I touched (but often ended up leaving otherwise unchanged)
- improve doc comments
- remove `ToString()` call on a `string`
- avoid encoding `string.Empty`
- fix test file name
- remove useless variables
- correct spelling
- improve whitespace
2016-10-03 12:17:47 -07:00
..
DefaultTemplatesUtilities.cs Add `ValidationHtmlAttributeProvider` to make `AddValidationAttributes()` available 2016-09-13 21:07:18 -07:00
HtmlHelperCheckboxTest.cs
HtmlHelperDisplayExtensionsTest.cs
HtmlHelperDisplayNameExtensionsTest.cs
HtmlHelperDisplayTextTest.cs
HtmlHelperDropDownListExtensionsTest.cs
HtmlHelperFormExtensionsTest.cs
HtmlHelperFormTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperHiddenTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperLabelExtensionsTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperLinkGenerationTest.cs
HtmlHelperListBoxExtensionsTest.cs
HtmlHelperNameExtensionsTest.cs
HtmlHelperPartialExtensionsTest.cs
HtmlHelperPasswordTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperRadioButtonExtensionsTest.cs
HtmlHelperSelectTest.cs
HtmlHelperTest.cs
HtmlHelperTextAreaExtensionsTest.cs
HtmlHelperTextAreaTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperTextBoxExtensionsTest.cs
HtmlHelperTextBoxTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperValidationMessageExtensionsTest.cs
HtmlHelperValidationSummaryTest.cs
HtmlHelperValueExtensionsTest.cs
HtmlHelperValueTest.cs
HtmlStringTest.cs
TagBuilderTest.cs
TestResources.cs
ViewContextTests.cs