aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi...
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
..
DependencyInjection
Internal Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
Properties
Rendering Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
ViewComponents Add NonViewComponentAttribute 2016-09-30 10:56:08 -07:00
ViewEngines
ViewFeatures [Fixes #5243] Handle null values in TempData properly 2016-09-14 15:41:38 -07:00
ControllerTest.cs
ControllerUnitTestabilityTests.cs
Microsoft.AspNetCore.Mvc.ViewFeatures.Test.xproj
ModelStateDictionaryExtensionsTest.cs
PartialViewResultTest.cs
RemoteAttributeTest.cs
Resources.resx
SkipStatusCodePagesAttributeTest.cs
TestApplicationPart.cs
ViewComponentResultTest.cs [Fixes #5166] Support passing instance directly when invoking ViewComponents with single parameter 2016-08-26 16:33:42 -07:00
ViewComponentTests.cs
ViewResultTest.cs
project.json