Skip to content

chore: Fix clippy#3584

Merged
larseggert merged 1 commit intomozilla:mainfrom
larseggert:chore-clippy
May 4, 2026
Merged

chore: Fix clippy#3584
larseggert merged 1 commit intomozilla:mainfrom
larseggert:chore-clippy

Conversation

@larseggert
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 4, 2026 06:40
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Straightforward clippy::uninlined_format_args fix. The x variable is correctly inlined into the format string, and meta.direction() is correctly kept as a positional argument since method calls can't be captured in Rust format strings. LGTM.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates a debug logging path in Connection::log_packet to satisfy clippy by simplifying write! formatting usage.

Changes:

  • Remove a needless borrow in write! by using Rust’s captured identifier formatting ({x}) instead of passing &x.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@larseggert larseggert merged commit ffa0aa2 into mozilla:main May 4, 2026
101 of 104 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.85%. Comparing base (c032e66) to head (c444aaa).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3584      +/-   ##
==========================================
- Coverage   95.00%   94.85%   -0.15%     
==========================================
  Files         109      114       +5     
  Lines       37586    37931     +345     
  Branches    37586    37931     +345     
==========================================
+ Hits        35709    35980     +271     
- Misses       1187     1251      +64     
- Partials      690      700      +10     
Flag Coverage Δ
freebsd 93.98% <0.00%> (-0.13%) ⬇️
linux 95.00% <100.00%> (ø)
macos 94.95% <100.00%> (+<0.01%) ⬆️
windows 95.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
neqo-common 98.61% <ø> (ø)
neqo-http3 93.92% <ø> (ø)
neqo-qpack 95.14% <ø> (ø)
neqo-transport 95.61% <100.00%> (ø)
neqo-udp 84.90% <ø> (ø)
mtu 86.61% <ø> (ø)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Benchmark results

No significant performance differences relative to ffa0aa2.

All results
transfer/1-conn/1-100mb-resp (aka. Download): Change within noise threshold.
       time:   [200.47 ms 200.86 ms 201.26 ms]
       thrpt:  [496.88 MiB/s 497.87 MiB/s 498.83 MiB/s]
change:
       time:   [-1.0067% -0.6831% -0.3951] (p = 0.00 < 0.05)
       thrpt:  [+0.3967% +0.6878% +1.0169]
       Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS): No change in performance detected.
       time:   [285.92 ms 287.50 ms 289.08 ms]
       thrpt:  [34.592 Kelem/s 34.783 Kelem/s 34.974 Kelem/s]
change:
       time:   [-1.3927% -0.4673% +0.4049] (p = 0.31 > 0.05)
       thrpt:  [-0.4032% +0.4695% +1.4124]
       No change in performance detected.
transfer/1-conn/1-1b-resp (aka. HPS): No change in performance detected.
       time:   [38.744 ms 38.951 ms 39.189 ms]
       thrpt:  [25.518   B/s 25.673   B/s 25.811   B/s]
change:
       time:   [-0.7962% -0.0381% +0.7513] (p = 0.92 > 0.05)
       thrpt:  [-0.7457% +0.0381% +0.8026]
       No change in performance detected.
Found 10 outliers among 100 measurements (10.00%)
10 (10.00%) high severe
transfer/1-conn/1-100mb-req (aka. Upload): No change in performance detected.
       time:   [203.55 ms 204.10 ms 204.78 ms]
       thrpt:  [488.32 MiB/s 489.96 MiB/s 491.28 MiB/s]
change:
       time:   [-0.0045% +0.3266% +0.7014] (p = 0.07 > 0.05)
       thrpt:  [-0.6965% -0.3255% +0.0045]
       No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) high mild
2 (2.00%) high severe
streams/walltime/1-streams/each-1000-bytes: No change in performance detected.
       time:   [586.35 µs 589.34 µs 592.61 µs]
       change: [-0.4360% +0.2194% +0.8793] (p = 0.52 > 0.05)
       No change in performance detected.
Found 18 outliers among 100 measurements (18.00%)
1 (1.00%) high mild
17 (17.00%) high severe
streams/walltime/1000-streams/each-1-bytes: Change within noise threshold.
       time:   [12.250 ms 12.268 ms 12.287 ms]
       change: [-0.5070% -0.3038% -0.0948] (p = 0.01 < 0.05)
       Change within noise threshold.
streams/walltime/1000-streams/each-1000-bytes: Change within noise threshold.
       time:   [44.295 ms 44.342 ms 44.390 ms]
       change: [-0.6645% -0.3014% -0.0399] (p = 0.05 < 0.05)
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
transfer/walltime/pacing-false/varying-seeds: Change within noise threshold.
       time:   [23.331 ms 23.357 ms 23.391 ms]
       change: [-1.9214% -1.6884% -1.4912] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) low mild
1 (1.00%) high mild
3 (3.00%) high severe
transfer/walltime/pacing-true/varying-seeds: Change within noise threshold.
       time:   [23.655 ms 23.683 ms 23.722 ms]
       change: [-1.7909% -1.6249% -1.4514] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
transfer/walltime/pacing-false/same-seed: Change within noise threshold.
       time:   [23.424 ms 23.453 ms 23.492 ms]
       change: [+0.1989% +0.4502% +0.6721] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severe
transfer/walltime/pacing-true/same-seed: Change within noise threshold.
       time:   [24.033 ms 24.056 ms 24.083 ms]
       change: [-1.0665% -0.8432% -0.6662] (p = 0.00 < 0.05)
       Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severe

Download data for profiler.firefox.com or download performance comparison data.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to main at c032e66.

neqo-pr as clientneqo-pr as server
neqo-pr vs. go-x-net: BP BA
neqo-pr vs. haproxy: run cancelled after 20 min
neqo-pr vs. kwik: run cancelled after 20 min
neqo-pr vs. lsquic: baseline result missing
neqo-pr vs. msquic: baseline result missing
neqo-pr vs. mvfst: A BP BA
neqo-pr vs. neqo: A
neqo-pr vs. nginx: baseline result missing
neqo-pr vs. ngtcp2: run cancelled after 20 min
neqo-pr vs. picoquic: run cancelled after 20 min
neqo-pr vs. quic-go: run cancelled after 20 min
neqo-pr vs. quiche: baseline result missing
neqo-pr vs. s2n-quic: CM
neqo-pr vs. tquic: run cancelled after 20 min
neqo-pr vs. xquic: A ⚠️L1 C1
aioquic vs. neqo-pr: CM
go-x-net vs. neqo-pr: CM
kwik vs. neqo-pr: run cancelled after 20 min
linuxquic vs. neqo-pr: run cancelled after 20 min
lsquic vs. neqo-pr: run cancelled after 20 min
msquic vs. neqo-pr: CM
mvfst vs. neqo-pr: run cancelled after 20 min
neqo vs. neqo-pr: A
openssl vs. neqo-pr: LR M A CM
picoquic vs. neqo-pr: run cancelled after 20 min
quic-go vs. neqo-pr: CM
quic-zig vs. neqo-pr: ⚠️DC
quiche vs. neqo-pr: run cancelled after 20 min
quinn vs. neqo-pr: V2 CM
s2n-quic vs. neqo-pr: CM
tquic vs. neqo-pr: CM
xquic vs. neqo-pr: M CM
All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Client/server transfer results

Performance differences relative to ffa0aa2.

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server (params) Mean ± σ Min Max MiB/s ± σ Δ baseline Δ baseline
neqo-google-cubic 770.3 ± 2.6 763.7 778.2 41.5 ± 12.3 💔 0.8 0.1%
neqo-msquic-cubic 149.9 ± 6.6 143.6 178.1 213.5 ± 4.8 💔 1.8 1.2%
neqo-quiche-cubic 188.3 ± 2.2 183.9 193.2 170.0 ± 14.5 💚 -1.0 -0.6%

Table above only shows statistically significant changes. See all results below.

All results

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server (params) Mean ± σ Min Max MiB/s ± σ Δ baseline Δ baseline
google-google-nopacing 456.3 ± 2.8 451.2 472.1 70.1 ± 11.4
google-neqo-cubic 265.0 ± 3.1 261.2 283.9 120.7 ± 10.3 0.7 0.3%
msquic-msquic-nopacing 125.7 ± 32.7 109.8 356.8 254.5 ± 1.0
msquic-neqo-cubic 154.7 ± 22.7 122.1 242.7 206.8 ± 1.4 3.3 2.2%
neqo-google-cubic 770.3 ± 2.6 763.7 778.2 41.5 ± 12.3 💔 0.8 0.1%
neqo-msquic-cubic 149.9 ± 6.6 143.6 178.1 213.5 ± 4.8 💔 1.8 1.2%
neqo-neqo-cubic 91.4 ± 2.7 86.8 98.7 350.2 ± 11.9 -0.0 -0.0%
neqo-neqo-cubic-nopacing 89.5 ± 2.2 86.4 95.2 357.4 ± 14.5 -0.3 -0.3%
neqo-neqo-newreno 91.3 ± 2.5 87.6 97.1 350.4 ± 12.8 -0.2 -0.3%
neqo-neqo-newreno-nopacing 90.1 ± 2.4 85.8 96.2 355.0 ± 13.3 -0.3 -0.3%
neqo-quiche-cubic 188.3 ± 2.2 183.9 193.2 170.0 ± 14.5 💚 -1.0 -0.6%
neqo-s2n-cubic 215.5 ± 1.6 210.9 221.5 148.5 ± 20.0 -0.1 -0.0%
quiche-neqo-cubic 171.5 ± 2.9 164.8 178.6 186.5 ± 11.0 0.3 0.2%
quiche-quiche-nopacing 139.9 ± 2.9 134.0 151.6 228.7 ± 11.0
s2n-neqo-cubic 213.9 ± 3.3 207.6 226.2 149.6 ± 9.7 -1.0 -0.5%
s2n-s2n-nopacing 292.5 ± 23.9 279.8 385.5 109.4 ± 1.3

Download data for profiler.firefox.com or download performance comparison data.

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