-
Notifications
You must be signed in to change notification settings - Fork 2.2k
perf: reduce HashMap/collection allocation overhead in gateway path #48662
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
Merged
xinlian12
merged 31 commits into
Azure:main
from
xinlian12:perf/hashmap-collection-allocation
Apr 24, 2026
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ace9cf2
perf: reduce HashMap/collection allocation overhead in gateway path
10d1b5e
docs: add benchmark comparison charts for hashmap-collection-allocation
86ee3c0
docs: update benchmark charts with corrected per-interval CPU rendering
5296c02
Merge branch 'upstream-main' into perf/hashmap-collection-allocation
xinlian12 d25746b
Address PR review: fix HashMap sizing, deduplicate JSON parsing, remo…
xinlian12 d834340
Fix HashMap sizing in HttpUtils.asMap() and extract helper method
xinlian12 ae30351
Address review: document HashMap(32) rationale, apply mapCapacityForS…
xinlian12 fa0ec32
Address review: extract parseResponsePayload to deduplicate constructors
xinlian12 afbe7b3
Remove unused HttpUtils.unescape methods and update ResponseUtils
xinlian12 bf3457b
Merge branch 'upstream-main' into perf/hashmap-collection-allocation
xinlian12 7f9a136
docs: update benchmark results with V3 analysis - main vs hashmap-alloc
d6d01d1
docs: clarify JFR allocation weight is cumulative alloc, not heap usage
2f45e9d
docs: simplify JFR presentation - show % not GB, add GC comparison
240fa86
docs: rewrite PR description with variance analysis and full JFR comp…
44bd72a
docs: fix JFR table - explain ValueIterator on request vs response path
ad7c046
Fix Cosmos Spark BannedDependencies enforcer failure by updating scal…
xinlian12 7677a27
Merge branch 'fix/cosmos-spark-jackson-version-mismatch' into upstrea…
xinlian12 d205163
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 73308ae
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 d6f0130
Merge branch 'upstream-main' into perf/hashmap-collection-allocation
xinlian12 05ea658
Merge branch 'perf/hashmap-collection-allocation' of https://github.c…
xinlian12 8743b22
change
xinlian12 572ddb8
remove test results
xinlian12 0b15550
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 a696f39
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 b46387f
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 9cb2f83
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 925ac82
Merge branch 'upstream-main' into perf/hashmap-collection-allocation
xinlian12 8ad7f20
Address PR review comments for hashmap-collection-allocation
xinlian12 c97d58c
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-java in…
xinlian12 410e559
Merge branch 'upstream-main' into perf/hashmap-collection-allocation
xinlian12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.