aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../Formatters
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
..
FormatFilterTest.cs Added ValueProviderFactories to ResourceFilterExecutingContext 2016-05-20 04:15:07 -07:00
FormatterCollectionTest.cs [Fixes #4051] Split OutputFormatter into OutputFormatter and TextOutputFormatter 2016-02-12 12:04:18 -08:00
FormatterMappingsTest.cs Make tests resilient to Localization (#5011) 2016-07-14 09:28:01 -07:00
InputFormatterTest.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
MediaTypeTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
NoContentFormatterTests.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
OutputFormatterTests.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
StreamOutputFormatterTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
StringOutputFormatterTests.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
TextInputFormatterTest.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
TextOutputFormatterTests.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00