dotnet / dotnet/aspnetcore

Profile and performance test IResult implementations

Open
#34,282 3 comments 3 reactions 0 assignees View on GitHub
area-minimal feature-minimal-actions Perf Priority:3
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

The Results factory and `IResult` implementations allocate a bunch of objects that can likely be short circuited in lots of cases. We should do some profiling and optimizing of these types (MVC will benefit as well).

One example of this is the fact that they each resolve the logger per request even in the success case.

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.