Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Use ArgumentNullException.ThrowIfNull in more places (#105380)" #106108

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

stephentoub
Copy link
Member

Specifically the changes to System.Collections.Concurrent (ConcurrentDictionary)

Fixes #106027
Fixes dotnet/perf-autofiling-issues#39525

…105380)"

Specifically the changes to System.Collections.Concurrent (ConcurrentDictionary)
@KennethHoff
Copy link

KennethHoff commented Aug 8, 2024

How come this affects performance to such an extent?

Copy link
Member

@eiriktsarpalis eiriktsarpalis left a comment

Choose a reason for hiding this comment

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

Do we know why this is contributing to a perf regression?

@skyoxZ
Copy link
Contributor

skyoxZ commented Aug 8, 2024

Is this the root cause?

As #106027 (comment) says, it can't explain the regression on Dictionary.

@stephentoub
Copy link
Member Author

Do we know why this is contributing to a perf regression?

No. But we're too late too risk it. If this fixes the regression we can figure out why, and if it doesn't, we'll re-evaluate that issue but we won't have lost anything meaningful for 9 by reverting.

@stephentoub stephentoub merged commit 8a894b5 into dotnet:main Aug 8, 2024
82 of 84 checks passed
@stephentoub stephentoub deleted the revert105380 branch August 8, 2024 12:53
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants