Skip to content

Reduce generic specialized code in console formatters - #101474

Merged
MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:formatters
Apr 29, 2024
Merged

Reduce generic specialized code in console formatters#101474
MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:formatters

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

Move code that doesn't need to be generic to a non-generic method. Reduces the size of the Stage 2 goldilocks app by 1.4% since these methods are rather large (especially the JsonConsoleFormatter one) and we have many specializations.

Move code that doesn't need to be generic to a non-generic method. Reduces the size of the Stage 2 goldilocks app by 1.4% since these methods are rather large (especially the `JsonConsoleFormatter` one) and we have many specializations.
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-logging
See info in area-owners.md if you want to be subscribed.

@tarekgh tarekgh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit 33a68d0 into dotnet:main Apr 29, 2024
@MichalStrehovsky
MichalStrehovsky deleted the formatters branch April 29, 2024 21:35
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
Move code that doesn't need to be generic to a non-generic method. Reduces the size of the Stage 2 goldilocks app by 1.4% since these methods are rather large (especially the `JsonConsoleFormatter` one) and we have many specializations.
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
Move code that doesn't need to be generic to a non-generic method. Reduces the size of the Stage 2 goldilocks app by 1.4% since these methods are rather large (especially the `JsonConsoleFormatter` one) and we have many specializations.
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
Move code that doesn't need to be generic to a non-generic method. Reduces the size of the Stage 2 goldilocks app by 1.4% since these methods are rather large (especially the `JsonConsoleFormatter` one) and we have many specializations.
@github-actions github-actions Bot locked and limited conversation to collaborators May 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

2 participants