From 447f4bc29824131beadd3d7c26497893f9c88f32 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Mon, 28 Jan 2019 20:37:11 +0000 Subject: [PATCH] Reuse the stack for OnCompleted and OnStarting calls (#6833) - Reviewing profiles for MVC and other things that use RegisterForDispose, this shows up as a significant amount of allocations. --- src/Servers/Kestrel/Core/src/CoreStrings.resx | 4 +- .../Core/src/Internal/Http/HttpProtocol.cs | 104 ++++++++++-------- .../InMemory.FunctionalTests/ResponseTests.cs | 93 ++++++++++++++++ 3 files changed, 151 insertions(+), 50 deletions(-) diff --git a/src/Servers/Kestrel/Core/src/CoreStrings.resx b/src/Servers/Kestrel/Core/src/CoreStrings.resx index b17228eec4..774305483a 100644 --- a/src/Servers/Kestrel/Core/src/CoreStrings.resx +++ b/src/Servers/Kestrel/Core/src/CoreStrings.resx @@ -1,4 +1,4 @@ - +