Skip to content

[o11y] Avoid cloning tail event when dispatching it to single tail worker#5614

Merged
fhanau merged 1 commit intomainfrom
felix/112925-stw
Dec 10, 2025
Merged

[o11y] Avoid cloning tail event when dispatching it to single tail worker#5614
fhanau merged 1 commit intomainfrom
felix/112925-stw

Conversation

@fhanau
Copy link
Copy Markdown
Contributor

@fhanau fhanau commented Nov 30, 2025

This could be expensive for events that are large/require several memory allocations. This required fixing how we construct the jsrpc.method attribute, the approach there was never fully working which was shadowed by the event being cloned. Also drop an unused Attribute constructor.

@fhanau fhanau requested a review from mar-cf November 30, 2025 02:27
@fhanau fhanau requested a review from a team as a code owner November 30, 2025 02:27
@fhanau fhanau requested a review from a team as a code owner November 30, 2025 02:27
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Dec 10, 2025

CodSpeed Performance Report

Merging #5614 will not alter performance

Comparing felix/112925-stw (7e2bb72) with main (36e75cd)

Summary

✅ 57 untouched
⏩ 30 skipped1

Footnotes

  1. 30 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

…rker

This could be expensive for events that are large/require several memory
allocations. This required fixing how we construct the jsrpc.method attribute,
the approach there was never fully working which was shadowed by the event being
cloned. Also drop an unused Attribute constructor.
@fhanau fhanau merged commit c766f38 into main Dec 10, 2025
21 checks passed
@fhanau fhanau deleted the felix/112925-stw branch December 10, 2025 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants