octokit / octokit.net

A GitHub API client library for .NET
https://octokitnet.readthedocs.io/en/latest/
MIT License
2.7k stars 1.08k forks source link

[BUG]: Unnecessary allocations during json string parsing #2976

Open ToddGrun opened 3 weeks ago

ToddGrun commented 3 weeks ago

What happened?

Looked at a profile of Visual Studio solution open, noticed more allocations than expected in octokit.

Versions

Octokit.Net: 10.0.0.0

Relevant log output

No response

Code of Conduct

ToddGrun commented 3 weeks ago

PR here: https://github.com/octokit/octokit.net/pull/2977

allocations in VS solution load before these changes image