Skip to content

Avoid unnecessary gc_collect_cycles if there's no open span#3428

Merged
bwoebi merged 1 commit into
masterfrom
bob/no-cycle-if-unneded
Sep 22, 2025
Merged

Avoid unnecessary gc_collect_cycles if there's no open span#3428
bwoebi merged 1 commit into
masterfrom
bob/no-cycle-if-unneded

Conversation

@bwoebi

@bwoebi bwoebi commented Sep 22, 2025

Copy link
Copy Markdown
Collaborator

This can be significant in terms of performance during shutdown, especially if it happens for no actual reason.

This can be significant in terms of performance during shutdown, especially if it happens for no actual reason.

Signed-off-by: Bob Weinand <[email protected]>
@bwoebi
bwoebi requested a review from a team as a code owner September 22, 2025 14:56
@codecov-commenter

codecov-commenter commented Sep 22, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.74%. Comparing base (4fb6495) to head (cd0ecca).
⚠️ Report is 403 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3428      +/-   ##
==========================================
- Coverage   61.87%   61.74%   -0.13%     
==========================================
  Files         141      141              
  Lines       12481    12481              
  Branches     1630     1630              
==========================================
- Hits         7722     7706      -16     
- Misses       4038     4054      +16     
  Partials      721      721              

see 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4fb6495...cd0ecca. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter

pr-commenter Bot commented Sep 22, 2025

Copy link
Copy Markdown

Benchmarks [ tracer ]

Benchmark execution time: 2025-09-22 16:02:07

Comparing candidate commit cd0ecca in PR branch bob/no-cycle-if-unneded with baseline commit 4fb6495 in branch master.

Found 2 performance improvements and 4 performance regressions! Performance is the same for 188 metrics, 0 unstable metrics.

scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache

  • 🟩 execution_time [-4.255µs; -3.265µs] or [-3.736%; -2.868%]

scenario:SamplingRuleMatchingBench/benchRegexMatching1

  • 🟥 execution_time [+71.186ns; +124.214ns] or [+6.042%; +10.543%]

scenario:SamplingRuleMatchingBench/benchRegexMatching2

  • 🟥 execution_time [+85.930ns; +137.270ns] or [+7.296%; +11.656%]

scenario:SamplingRuleMatchingBench/benchRegexMatching3

  • 🟥 execution_time [+65.976ns; +108.424ns] or [+5.549%; +9.119%]

scenario:SamplingRuleMatchingBench/benchRegexMatching4

  • 🟥 execution_time [+83.630ns; +126.370ns] or [+7.116%; +10.753%]

scenario:TraceSerializationBench/benchSerializeTrace

  • 🟩 execution_time [-29.928µs; -20.372µs] or [-6.782%; -4.616%]

@bwoebi
bwoebi merged commit c70ff24 into master Sep 22, 2025
1867 of 1872 checks passed
@bwoebi
bwoebi deleted the bob/no-cycle-if-unneded branch September 22, 2025 17:53
@github-actions github-actions Bot added this to the 1.13.0 milestone Sep 22, 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.

3 participants