aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi...
Ryan Nowak 434da683fc Improve buffering of Razor output in MVC
These changes are aimed at significantly improving the performance of
MVC/Razor when a large amount of content is in play or a large number of
TagHelpers are used.

A few issues addressed:

- Buffer sync writes after a flush has occurred so that we can write them
  asyncronously. The issue is that an IHtmlContent can only do sync
  writes. This is very bad for Kestrel in general. Doing these writes
  async is better for our overall perf, and the buffer that we use for it
  is from the pool.

- 'Flatten' ViewBuffers when possible. A page with lots of TagHelpers can
  end up renting a ViewBuffer and only write 2-3 things into it. When a
  ViewBuffer sees another ViewBuffer we can either steal its pages, or
  copy data out and 'return' its pages. This lets us use 3-4 buffers for a
  large Razor page instead of hundreds.
2016-01-25 12:40:52 -08:00
..
Internal Improve buffering of Razor output in MVC 2016-01-25 12:40:52 -08:00
Properties Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
Rendering Internal cleanup in ViewFeatures 2016-01-24 22:13:29 -08:00
ViewComponents Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
ViewEngines Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
ViewFeatures Internal cleanup in ViewFeatures 2016-01-24 22:13:29 -08:00
ControllerTest.cs Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
ControllerUnitTestabilityTests.cs Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
Microsoft.AspNetCore.Mvc.ViewFeatures.Test.xproj
ModelStateDictionaryExtensionsTest.cs Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
RemoteAttributeTest.cs Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
Resources.resx
SkipStatusCodePagesAttributeTest.cs Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
ViewBufferTextWriterTest.cs Improve buffering of Razor output in MVC 2016-01-25 12:40:52 -08:00
ViewComponentResultTest.cs Internal cleanup in ViewFeatures 2016-01-24 22:13:29 -08:00
ViewComponentTests.cs Rename AspNet 5 file contents. 2016-01-22 12:18:33 -08:00
ViewResultTest.cs Internal cleanup in ViewFeatures 2016-01-24 22:13:29 -08:00
project.json Update ASP.NET 5 versions for ASP.NET Core. 2016-01-22 12:40:26 -08:00