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

CosmosDiagnostics: Adds Perf Optimizations #2204

Merged
merged 10 commits into from
Feb 10, 2021

Conversation

bchong95
Copy link
Contributor

@bchong95 bchong95 commented Feb 9, 2021

CosmosDiagnostics: Adds Perf Optimizations

Description

Adds the following Perf Optimizations:

  • Removes Unneeded Traces
  • Json for ToString
  • Removes ClientSideRequestStatistics.ToString() at the cost of allocations.

With these changes we reduce the allocations from: 29.13 MB to 22.87 MB for a 24% drop in memory allocations.

@Azure Azure deleted a comment from bchong95 Feb 10, 2021
Copy link
Contributor

@sboshra sboshra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants