[in-progress] perf: continue SERDE hot-path optimizations - #358
Closed
jterapin wants to merge 28 commits into
Closed
[in-progress] perf: continue SERDE hot-path optimizations #358jterapin wants to merge 28 commits into
jterapin wants to merge 28 commits into
Conversation
jterapin
force-pushed
the
serde-optimizations
branch
2 times, most recently
from
September 2, 2026 17:12
418b418 to
8ce763b
Compare
- reuse Builder and Parser instances within Json::Codec - cache list/map member shape lookups in builder and parser hot paths - simplify jsonName memoization in Json::Extension - return nil for top-level JSON null payloads and cover it in parser specs
jterapin
force-pushed
the
serde-optimizations
branch
from
September 3, 2026 18:10
771deb0 to
e442a1c
Compare
jterapin
force-pushed
the
serde-optimizations
branch
from
September 3, 2026 18:19
e442a1c to
4c0a610
Compare
This was referenced Sep 3, 2026
Contributor
Author
|
Closing in favor of the stack prs. |
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.
Summary
This PR continues the post-schema-extension serde follow-up work.
It tightens hot paths across the JSON/XML serde stack, reduces repeated lookup/object churn in builders and parsers, and keeps protocol-specific behavior aligned with schema metadata.
Changes
:defaultNotes
This is intentionally incremental follow-up work, not a new serde design phase. The goal is to keep the changes narrow while continuing to improve runtime behavior and cleanup after the schema-extension work.
Validation
bundle exec rake smithy-client:spec