-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Improve performance of IsRootScope check #54555
Conversation
- Stash a field instead of doing an equality comparison. Fixes #54351
Tagging subscribers to this area: @eerhardt, @maryamariyan Issue Details
Fixes #54351 PS: I'm not sure how to run those performance tests.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #54351
Optimistic :)
There is a git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'Microsoft.Extensions.DependencyInjection.GetService*' |
python3 wtf. Is there an easy way to run on the same hardware? Also do I need to manually patch bits and run before and after? |
+💯
|
What's wrong with python? :) If you have two runtimes you want to run back to back, I recommend running benchmarks_ci.py once to bootstrap everything and then you can follow the directions here: Snapshot your baseline, then you can iterate as necessary with the after build. |
OR I could just merge it. |
Sure. We'll see the impact in the system soon enough if you do. |
Hello @davidfowl! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Fixes #54351
PS: I'm not sure how to run those performance tests.