Skip to content

Enclose input_gate_lock_hold and input_gate_lock_wait spans into inpu…#5948

Merged
shrima-cf merged 1 commit intomainfrom
shrima/input-gate-span
Feb 3, 2026
Merged

Enclose input_gate_lock_hold and input_gate_lock_wait spans into inpu…#5948
shrima-cf merged 1 commit intomainfrom
shrima/input-gate-span

Conversation

@shrima-cf
Copy link
Copy Markdown
Contributor

…t_gate_wait_attempt parent span

This will help group the lock and wait span from a single request together

I noticed from this span - https://tracing.cfdata.org/trace/000f2d35a668d2bb that the lock_wait and lock_holds are grouped individually, making it hard to tie the hold and wait to a single request. This change will help fix the issue.

@shrima-cf shrima-cf requested review from a team as code owners January 23, 2026 00:03
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 23, 2026

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.17%. Comparing base (124de69) to head (d41480d).

Files with missing lines Patch % Lines
src/workerd/io/io-gate.c++ 77.77% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5948      +/-   ##
==========================================
- Coverage   70.18%   70.17%   -0.01%     
==========================================
  Files         407      407              
  Lines      107237   107238       +1     
  Branches    17985    17985              
==========================================
- Hits        75259    75251       -8     
- Misses      21187    21196       +9     
  Partials    10791    10791              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@shrima-cf shrima-cf force-pushed the shrima/input-gate-span branch 3 times, most recently from d9f80b3 to 2c21a21 Compare January 30, 2026 22:48
…t_gate_wait_attempt parent span

This will help group the lock and wait span from a single request together
@shrima-cf shrima-cf force-pushed the shrima/input-gate-span branch from 2c21a21 to d41480d Compare February 2, 2026 22:43
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 2, 2026

CodSpeed Performance Report

Merging this PR will improve performance by 22.91%

Comparing shrima/input-gate-span (d41480d) with main (124de69)

Summary

⚡ 1 improved benchmark
✅ 69 untouched benchmarks
⏩ 129 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
jsonResponse[Response] 42.6 µs 34.7 µs +22.91%

Footnotes

  1. 129 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.

@shrima-cf shrima-cf merged commit fc6ae8f into main Feb 3, 2026
26 of 37 checks passed
@shrima-cf shrima-cf deleted the shrima/input-gate-span branch February 3, 2026 00:12
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