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 Make tests resilient to Localization (#5011) 2016-07-14 09:28:01 -07:00
HtmlHelperDisplayExtensionsTest.cs Fixes #5198 Stops caching of Enum display values (#5185) 2016-09-07 16:00:17 -07:00
HtmlHelperDisplayNameExtensionsTest.cs
HtmlHelperDisplayTextTest.cs Use a prefix tree as a backing store for ModelStateDictionary 2016-03-17 10:09:36 -07:00
HtmlHelperDropDownListExtensionsTest.cs Added tests for DropDownList and ListBox extensions 2016-03-22 16:51:27 -07:00
HtmlHelperFormExtensionsTest.cs React to `HtmlEncodedString` rename to `HtmlString`. 2016-05-17 11:02:10 -07:00
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 Added tests for DropDownList and ListBox extensions 2016-03-22 16:51:27 -07:00
HtmlHelperNameExtensionsTest.cs
HtmlHelperPartialExtensionsTest.cs
HtmlHelperPasswordTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
HtmlHelperRadioButtonExtensionsTest.cs
HtmlHelperSelectTest.cs Fixes #5198 Stops caching of Enum display values (#5185) 2016-09-07 16:00:17 -07:00
HtmlHelperTest.cs [Fixes #453] Added unit tests for Display and Value Extensions 2016-07-06 15:39:26 -07:00
HtmlHelperTextAreaExtensionsTest.cs column attribute for <textarea> is incorrect (#5049) 2016-07-20 09:22:39 -07:00
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 Do not generate a validation summary when `excludePropertyErrors` unless specific model has an error 2016-09-08 15:36:47 -07:00
HtmlHelperValueExtensionsTest.cs [Fixes #453] Added unit tests for Display and Value Extensions 2016-07-06 15:39:26 -07:00
HtmlHelperValueTest.cs Use a prefix tree as a backing store for ModelStateDictionary 2016-03-17 10:09:36 -07:00
HtmlStringTest.cs React to `HtmlEncodedString` rename to `HtmlString`. 2016-05-17 11:02:10 -07:00
TagBuilderTest.cs Fixed a bug in TagBuilder when attribute value is null 2016-05-26 11:04:32 -07:00
TestResources.cs
ViewContextTests.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00