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

Clean up JSON property lookup logic and add alternate key lookup support. #103836

Merged
merged 7 commits into from
Jul 8, 2024

Conversation

eiriktsarpalis
Copy link
Member

This PR:

  1. Adds span-based dictionary lookups to the JSON property binding logic.
  2. Cleans up, fixes a few coherency issues and adds commentary to the overall property lookup implementation.

I ran the benchmark suite and it appears that the change doesn't move the needle much performance-wise. The reason for that is that STJ uses an intermediate bespoke cache that does the heavy lifting when it comes to handling microbenchmark-like workloads.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

@eiriktsarpalis
Copy link
Member Author

@stephentoub would it be possible to take another look? Thanks.

@eiriktsarpalis eiriktsarpalis merged commit e4d9e26 into dotnet:main Jul 8, 2024
81 of 83 checks passed
@eiriktsarpalis eiriktsarpalis deleted the json-alternate-dict branch July 8, 2024 20:16
@github-actions github-actions bot locked and limited conversation to collaborators Aug 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants