Skip to content

Conversation

@bobrik
Copy link
Collaborator

@bobrik bobrik commented Sep 30, 2025

It's expected that most of the spans are not sampled. We still clone and stack them, which adds up. Let's add a new variant for unsampled spans that is cheaper to clone.

It's expected that most of the spans are not sampled. We still clone
and stack them, which adds up. Let's add a new variant for unsampled
spans that is cheaper to clone.
@bobrik bobrik changed the title Do not stack empty spans Add a new SharedSpanHandle::Inactive variant Sep 30, 2025
@TheJokr TheJokr merged commit a71d56b into cloudflare:main Oct 1, 2025
18 checks passed
@TheJokr TheJokr mentioned this pull request Oct 1, 2025
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.

2 participants