-
Notifications
You must be signed in to change notification settings - Fork 357
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
Use System.Text.Json instead of Newton.Json #525
Conversation
@microsoft-github-policy-service agree |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks for your contribution. This is an excellent improvement I think. I added a simple benchmark to test the speed of just the export time. It generates a trivial report with N issues for setup and then exports the same report to JSON repeatedly. The benchmark shows about a 2x speedup, and about 10x less memory allocations. Current main branch
This PR
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This PR contains public API changes so semver must be bumped.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This is relatively large in terms of files touched so I'm going to give it another look tomorrow to double check nothing got missed but I expect to merge it sometime tomorrow. |
Thanks folks, I really appreciate your responsiveness. I will check this PR if I need to modify anything. |
@dbalikhin I did a quick check of the json, sarif and html outputs compared to the latest release from main and everything looks good, as well as double checking that custom rules can still be specified and loaded properly. Thanks again for the contribution, great work! |
My pleasure. |
Fixes #515