perf: speed up async min/max on .NET 11 - #212
Merged
Merged
Conversation
- Use span min/max over the existing async snapshot buffer on .NET 11. - Add comparison regression tests and a reduction benchmark. - Use stable C# 15 while retaining the runtime async compiler switch.
glennawatson
force-pushed
the
perf/net11-adoption
branch
from
September 12, 2026 17:35
3fb2d35 to
ee91ae3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #212 +/- ##
=======================================
Coverage 99.77% 99.77%
=======================================
Files 714 714
Lines 22219 22221 +2
Branches 2733 2735 +2
=======================================
+ Hits 22169 22171 +2
Misses 49 49
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
ChrisPulman
approved these changes
Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What kind of change does this PR introduce?
What is the new behavior?
GetMinandGetMaxcan process integer values faster on .NET 11 using the existing buffer.What is the current behavior?
What might this PR break?
Checklist
mainbranch