Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 6, 2025

Backport of #120422 to release/10.0

/cc @ManickaP @EgorBo

Customer Impact

  • Customer reported
  • Found internally

.NET 10.0 regressed startup time for trivial workloads as was reported by the AWS team in #120288. We suspect it's some new generic instantiations we introduced in .NET 10.0 around number parsing, since that is not easy to fix/backport, we just applied a few general improvements to regain the losses. This PR removes redundant GetCustomAttribute calls by setting EventSource name in tha base ctor instead of relying on the reflection to obtain it from the attribute. We plan to simplify/automate this with a Source Generator (in fact, it's already done like that in the corelib), but for now it's changed by hands. This PR improves this sub-graph.

Regression

  • Yes
  • No

Testing

Validated that events are collected normally

Risk

Low

@jkotas jkotas requested a review from noahfalk October 6, 2025 14:13
@steveisok steveisok added the Servicing-consider Issue for next servicing release review label Oct 6, 2025
Copy link
Contributor

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

@JulieLeeMSFT JulieLeeMSFT added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Oct 13, 2025
…ns.Concurrent.ConcurrentCollectionsEventSource to use string based constructors
@hoyosjs
Copy link
Member

hoyosjs commented Oct 15, 2025

@EgorBot scenario-awslambda -arm -intel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Net NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) Servicing-consider Issue for next servicing release review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants