dotnet / dotnet/aspnetcore

Improve performance of ASP.NET Core with logging on

Open
#9,594 0 comments 0 reactions 0 assignees View on GitHub
affected-medium area-hosting area-networking enhancement Perf severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

With the default settings and a hello world middleware, we go from 0 allocations to ~12 (some objects are pretty large as well). The following is a memory profile of 10,000 requests with logging turned on at the "Warning" level:

![image](https://user-images.githubusercontent.com/95136/56454076-9572f680-6300-11e9-985c-5dbbac1cd6cf.png)

cc @benaadams @noahfalk

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.