Skip to content

Cache IResult types for well known status codes and results without parameters #39951

@davidfowl

Description

@davidfowl

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

We should optimize result allocation by caching common result instances (known status codes etc).

Describe the solution you'd like

Caching of these result types.

Additional context

No response

Metadata

Metadata

Assignees

Labels

PerfPriority:1Work that is critical for the release, but we could probably ship withoutold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions