feat(ddtrace/tracer): remove locking on sampling priority access#4546
Conversation
9f27836 to
d2cd5ce
Compare
BenchmarksBenchmark execution time: 2026-03-24 18:43:20 Comparing candidate commit 6855c92 in PR branch Found 25 performance improvements and 0 performance regressions! Performance is the same for 190 metrics, 9 unstable metrics.
|
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 6855c92 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
kakkoyun
left a comment
There was a problem hiding this comment.
LGTM.
We should add checkatomic and see what checklocks also thinks.
Codecov Report❌ Patch coverage is
Additional details and impacted files
🚀 New features to boost your workflow:
|
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
What does this PR do?
Turns
trace.priorityintoatomic.Pointerto avoid usingtrace.mulocking.Motivation
Complete #1905 work using the current benchmarking platform.
Reviewer's Checklist
make lintlocally.make testlocally.Unsure? Have a question? Request a review!