-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Rework JsonConvert
for performance and maintainability
#334
Conversation
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
I still have some cleanup I need to do on this and will need to wait until I merge in #333 |
Quality Gate passedIssues Measures |
Nice work making it super hard to review the PR! That said, if all the existing tests are green and the performance is increased, I'm all up a big fan :-) |
Hey @CoryCharlton! I've just tumbled on this PR. 😁 Wondering if you're planning to resume these changes/improvements? |
@CoryCharlton I've fixed the checklist for you. |
Hi @josesimoes , I ran into some issues with this where the behavior of my changes was not entirely consistent with the old code. Now that I've got some time again I'm going to break this down into smaller, more testable, chunks. I'll have a PR shortly with just the type comparison changes as that's where most of the performance was gained. |
Description
is
for null checks)Motivation and Context
While I was digging through
JsonConvert
I saw a bunch of duplicate code and room for improvement. There's still a few ideas I have for further improvement but I'll hold off on those. Long story short most of the deserialization benchmarks saw a ~25% improvement.How Has This Been Tested?
Screenshots
Types of changes
Checklist: