Skip to content

Bump version of cfg_aliases to deal with nightly clippy errors - #3833

Open
martinthomson wants to merge 3 commits into
mozilla:mainfrom
martinthomson:bump-cfg_aliases
Open

Bump version of cfg_aliases to deal with nightly clippy errors#3833
martinthomson wants to merge 3 commits into
mozilla:mainfrom
martinthomson:bump-cfg_aliases

Conversation

@martinthomson

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Straightforward dependency bump. One suggestion: bump the workspace-level cfg_aliases version (in the root Cargo.toml) to "0.2.2" as well, and have mtu use { workspace = true } like neqo-udp and neqo-bin already do. This keeps the minimum version constraint consistent across all crates in the workspace.

Also worth checking: the #[allow(clippy::allow_attributes, semicolon_in_expressions_from_macros)] blocks in mtu/build.rs, neqo-udp/build.rs, and neqo-bin/build.rs all carry a TODO referencing cfg_aliases PR #15. If that fix shipped in 0.2.2, those #[allow] blocks can be removed as a follow-up.

Comment thread mtu/Cargo.toml Outdated
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.78%. Comparing base (76673b1) to head (bbacd2b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3833      +/-   ##
==========================================
- Coverage   96.95%   96.78%   -0.18%     
==========================================
  Files         115      120       +5     
  Lines       40537    40882     +345     
  Branches    40537    40882     +345     
==========================================
+ Hits        39304    39567     +263     
- Misses       1216     1290      +74     
- Partials       17       25       +8     
Flag Coverage Δ
freebsd 94.15% <ø> (-0.15%) ⬇️
linux 96.96% <ø> (ø)
macos 95.09% <ø> (-0.01%) ⬇️
windows 95.14% <ø> (ø)

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

Components Coverage Δ
neqo-common 99.23% <ø> (ø)
neqo-http3 95.40% <ø> (ø)
neqo-qpack 97.26% <ø> (ø)
neqo-transport 97.72% <ø> (-0.04%) ⬇️
neqo-udp 95.37% <ø> (ø)
mtu 89.13% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hq Bot commented Jul 30, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 8.72%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 3 regressed benchmarks
✅ 78 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory simulated/10-streams/each-1048576-bytes 9.7 MB 11.4 MB -15.16%
Simulation simulated/10-streams/each-1048576-bytes 230.1 ms 246.3 ms -6.59%
Simulation coalesce_acked_from_zero 1 ranges 1.4 µs 1.4 µs -4.03%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing martinthomson:bump-cfg_aliases (bbacd2b) with main (76673b1)

Open in CodSpeed

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Straightforward and correct dependency bump. The second commit nicely consolidates mtu/Cargo.toml to use the workspace dependency, keeping all three crates (mtu, neqo-udp, neqo-bin) consistent.

The previous review's inline suggestion has been addressed. One optional follow-up noted inline: the #[allow] blocks in the three build.rs files can now be removed since the fix they were waiting on (katharostech/cfg_aliases#15) shipped in 0.2.2.

Comment thread Cargo.toml

[workspace.dependencies]
cfg_aliases = { version = "0.2", default-features = false }
cfg_aliases = { version = "0.2.2", default-features = false }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tip

Now that cfg_aliases 0.2.2 includes the fix from katharostech/cfg_aliases#15, the #[allow(clippy::allow_attributes, semicolon_in_expressions_from_macros)] blocks in mtu/build.rs, neqo-udp/build.rs, and neqo-bin/build.rs can be removed — their TODOs reference exactly this release. Could be done here or as a quick follow-up.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Clean dependency bump. The three commits tell a good story: bump cfg_aliases 0.2.1 → 0.2.2 to fix nightly clippy warnings, consolidate mtu/Cargo.toml to use the workspace dependency (matching neqo-udp and neqo-bin), and remove the #[allow(clippy::allow_attributes, semicolon_in_expressions_from_macros)] workarounds now that the upstream fix (katharostech/cfg_aliases#15) has shipped.

The CodSpeed regressions are flagged as cross-environment comparisons and unrelated to this build-time-only change.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark results

No significant performance differences relative to 76673b1.

All results
streams/walltime/1-streams/each-1000-bytes
       time:   [548.96 µs 550.99 µs 553.33 µs]
       thrpt:  [1.7235 MiB/s 1.7308 MiB/s 1.7372 MiB/s]
Found 15 outliers among 100 measurements (15.00%)
2 (2.00%) low mild
1 (1.00%) high mild
12 (12.00%) high severe
streams/walltime/1000-streams/each-1-bytes
       time:   [11.096 ms 11.110 ms 11.125 ms]
       thrpt:  [87.780 KiB/s 87.897 KiB/s 88.014 KiB/s]
streams/walltime/1000-streams/each-1000-bytes
       time:   [31.686 ms 31.736 ms 31.790 ms]
       thrpt:  [29.999 MiB/s 30.050 MiB/s 30.098 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
streams-flow-controlled/walltime/1-streams/each-4194304-bytes
       time:   [26.430 ms 26.468 ms 26.507 ms]
       thrpt:  [150.90 MiB/s 151.12 MiB/s 151.34 MiB/s]
streams-flow-controlled/walltime/10-streams/each-1048576-bytes
       time:   [69.537 ms 69.968 ms 70.402 ms]
       thrpt:  [142.04 MiB/s 142.92 MiB/s 143.81 MiB/s]
transfer/walltime/pacing-false/varying-seeds
       time:   [18.846 ms 18.858 ms 18.870 ms]
       thrpt:  [211.97 MiB/s 212.11 MiB/s 212.25 MiB/s]
transfer/walltime/pacing-true/varying-seeds
       time:   [19.119 ms 19.130 ms 19.140 ms]
       thrpt:  [208.98 MiB/s 209.10 MiB/s 209.22 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/walltime/pacing-false/same-seed
       time:   [18.628 ms 18.640 ms 18.652 ms]
       thrpt:  [214.45 MiB/s 214.59 MiB/s 214.73 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/walltime/pacing-true/same-seed
       time:   [18.935 ms 18.948 ms 18.961 ms]
       thrpt:  [210.96 MiB/s 211.11 MiB/s 211.25 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild

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

@github-actions

Copy link
Copy Markdown
Contributor

Failed Interop Tests

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

neqo-pr as clientneqo-pr as server
neqo-pr vs. go-x-net: BP BA
neqo-pr vs. haproxy: 🚀M BP BA
neqo-pr vs. kwik: 🚀BA ⚠️L1
neqo-pr vs. lsquic: L1 C1
neqo-pr vs. msquic: A L1 C1
neqo-pr vs. mvfst: A
neqo-pr vs. neqo: A
neqo-pr vs. nginx: BP BA
neqo-pr vs. ngtcp2: CM
neqo-pr vs. picoquic: A
neqo-pr vs. quic-go: A
neqo-pr vs. quic-zig: B 🚀C1
neqo-pr vs. quiche: BP BA
neqo-pr vs. s2n-quic: BA CM
neqo-pr vs. tquic: S BP BA
neqo-pr vs. xquic: A 🚀L1 C1
aioquic vs. neqo-pr: CM
go-x-net vs. neqo-pr: CM
kwik vs. neqo-pr: BP BA CM
msquic vs. neqo-pr: CM
mvfst vs. neqo-pr: Z L1 C1 CM
neqo vs. neqo-pr: A
openssl vs. neqo-pr: LR M A CM
quic-go vs. neqo-pr: CM
quiche vs. neqo-pr: CM
quinn vs. neqo-pr: V2 CM
s2n-quic vs. neqo-pr: ⚠️B CM
tquic vs. neqo-pr: 🚀BP 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

Client/server transfer results

Performance differences relative to 76673b1.

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

Client vs. server Mean±σ Min–Max Median±MAD MiB/s±σ ΔMedian
neqo-neqo-cubic-nopacing ⚠️ 79.8 ± 3.8 75.4 – 102.8 78.9 ± 2.0 401.1 ± 19.2 💚 -0.9 (-1.1%)

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 Mean±σ Min–Max Median±MAD MiB/s±σ ΔMedian
google-google 465.6 ± 2.1 461.4 – 472.2 465.5 ± 1.8 68.7 ± 0.3
google-neqo-cubic 269.2 ± 1.6 265.8 – 275.6 269.4 ± 1.5 118.9 ± 0.7 +1.4 (+0.5%)
neqo-google-cubic 772.3 ± 3.0 766.1 – 782.4 771.9 ± 2.8 41.4 ± 0.2 +1.3 (+0.2%)
neqo-neqo-cubic 79.5 ± 2.0 74.4 – 86.9 79.4 ± 1.4 402.6 ± 10.4 +0.3 (+0.3%)
neqo-neqo-cubic-nopacing ⚠️ 79.8 ± 3.8 75.4 – 102.8 78.9 ± 2.0 401.1 ± 19.2 💚 -0.9 (-1.1%)
neqo-neqo-newreno 78.7 ± 2.3 73.2 – 84.9 78.7 ± 2.4 406.6 ± 11.9 -0.0 (-0.0%)
neqo-neqo-newreno-nopacing 80.7 ± 3.3 73.0 – 93.4 79.7 ± 1.9 396.7 ± 16.4 -0.4 (-0.5%)
neqo-quiche-cubic 193.0 ± 2.0 189.7 – 199.6 192.8 ± 1.6 165.8 ± 1.7 +0.4 (+0.2%)
neqo-s2n-cubic 214.6 ± 2.3 208.4 – 222.3 214.6 ± 1.3 149.1 ± 1.6 +1.1 (+0.5%)
quiche-neqo-cubic 137.1 ± 2.0 132.4 – 143.4 137.1 ± 1.5 233.4 ± 3.4 +1.1 (+0.8%)
quiche-quiche 134.7 ± 2.9 128.7 – 144.5 134.9 ± 2.7 237.6 ± 5.2
s2n-neqo-cubic 219.1 ± 2.2 212.7 – 225.8 218.5 ± 1.6 146.1 ± 1.5 +0.1 (+0.0%)
s2n-s2n ⚠️ 291.3 ± 25.7 277.4 – 387.1 284.6 ± 3.2 109.9 ± 9.7

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.

1 participant