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

CXXCBC-387: Optimising tags for noop_tracer #461

Merged
merged 2 commits into from Oct 22, 2023

Conversation

programmatix
Copy link
Contributor

Profiling indicates that non-trivial time is spent assigning tags to spans, which is wasted effort if noop_tracer is being used.

Borrowing an optimisation from the JVM SDKs, where we skip this assignment in this case.

This optimisation, together with another small one that will be submitted separately, produced around a 15% performance improvement.

Downside: this does have to touch the public request_span API.

…al/remote sessions

Profiling indicates that non-trivial time is spent assigning
tags to spans, which is wasted effort if noop_tracer is being
used.

Borrowing an optimisation from the JVM SDKs, where we skip this
assignment in this case.

This optimisation, together with another small one that will be
submitted separately, produced around a 15% performance improvement.
@avsej avsej merged commit 8ee3fbf into couchbaselabs:main Oct 22, 2023
7 of 14 checks passed
@programmatix programmatix deleted the optimisations branch October 23, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants