Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Enable some rustc lints #2317

Merged
merged 7 commits into from
Jan 10, 2025
Merged

Conversation

larseggert
Copy link
Collaborator

And deal with the fallout.

And deal with the fallout.
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 96.39640% with 4 lines in your changes missing coverage. Please review.

Project coverage is 93.33%. Comparing base (b0fbde7) to head (69e3bdb).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
neqo-crypto/src/agent.rs 77.77% 0 Missing and 2 partials ⚠️
neqo-http3/src/connection.rs 90.00% 1 Missing ⚠️
neqo-udp/src/lib.rs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2317   +/-   ##
=======================================
  Coverage   93.33%   93.33%           
=======================================
  Files         114      114           
  Lines       36887    36887           
  Branches    36887    36887           
=======================================
  Hits        34428    34428           
  Misses       1679     1679           
  Partials      780      780           

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

Copy link

github-actions bot commented Jan 8, 2025

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to 6013bde.

neqo-latest as client

neqo-latest as server

All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Copy link

github-actions bot commented Jan 8, 2025

Benchmark results

Performance differences relative to 6013bde.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [11.155 µs 11.234 µs 11.373 µs]
       change: [-0.1133% +0.6401% +1.7565%] (p = 0.22 > 0.05)

Found 15 outliers among 100 measurements (15.00%)
5 (5.00%) low severe
2 (2.00%) low mild
1 (1.00%) high mild
7 (7.00%) high severe

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [3.0109 ms 3.0165 ms 3.0236 ms]
       change: [-0.8241% -0.3998% +0.0075%] (p = 0.06 > 0.05)

Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) high mild
4 (4.00%) high severe

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [19.522 µs 19.586 µs 19.667 µs]
       change: [-0.7822% -0.0699% +0.5426%] (p = 0.85 > 0.05)

Found 23 outliers among 100 measurements (23.00%)
5 (5.00%) low severe
3 (3.00%) low mild
2 (2.00%) high mild
13 (13.00%) high severe

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [5.1604 ms 5.1721 ms 5.1851 ms]
       change: [-0.4216% -0.0773% +0.2769%] (p = 0.67 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
14 (14.00%) high severe

decode 4096 bytes, mask 3f: No change in performance detected.
       time:   [5.5257 µs 5.5364 µs 5.5558 µs]
       change: [-1.0427% -0.2890% +0.5039%] (p = 0.50 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
5 (5.00%) low mild
1 (1.00%) high mild
4 (4.00%) high severe

decode 1048576 bytes, mask 3f: No change in performance detected.
       time:   [1.7581 ms 1.7596 ms 1.7625 ms]
       change: [-0.7118% -0.3204% +0.0056%] (p = 0.10 > 0.05)

Found 6 outliers among 100 measurements (6.00%)
5 (5.00%) high mild
1 (1.00%) high severe

coalesce_acked_from_zero 1+1 entries: Change within noise threshold.
       time:   [99.417 ns 99.784 ns 100.15 ns]
       change: [+0.3466% +0.8613% +1.4423%] (p = 0.00 < 0.05)

Found 14 outliers among 100 measurements (14.00%)
10 (10.00%) high mild
4 (4.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [117.44 ns 117.87 ns 118.37 ns]
       change: [-0.3203% +0.5498% +1.2320%] (p = 0.18 > 0.05)

Found 16 outliers among 100 measurements (16.00%)
1 (1.00%) low severe
2 (2.00%) low mild
4 (4.00%) high mild
9 (9.00%) high severe

coalesce_acked_from_zero 10+1 entries: Change within noise threshold.
       time:   [117.23 ns 117.77 ns 118.39 ns]
       change: [+0.1758% +0.8234% +1.4662%] (p = 0.01 < 0.05)

Found 17 outliers among 100 measurements (17.00%)
4 (4.00%) low severe
4 (4.00%) low mild
1 (1.00%) high mild
8 (8.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [98.401 ns 98.550 ns 98.725 ns]
       change: [-0.3519% +0.8588% +1.9821%] (p = 0.16 > 0.05)

Found 8 outliers among 100 measurements (8.00%)
4 (4.00%) high mild
4 (4.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [111.24 ms 111.31 ms 111.37 ms]
       change: [-0.0201% +0.1860% +0.3190%] (p = 0.02 < 0.05)

Found 20 outliers among 100 measurements (20.00%)
10 (10.00%) low mild
10 (10.00%) high mild

SentPackets::take_ranges: No change in performance detected.
       time:   [5.5374 µs 5.7339 µs 5.9480 µs]
       change: [-2.2446% +6.0240% +19.339%] (p = 0.44 > 0.05)

Found 6 outliers among 100 measurements (6.00%)
4 (4.00%) high mild
2 (2.00%) high severe

transfer/pacing-false/varying-seeds: Change within noise threshold.
       time:   [41.796 ms 41.887 ms 41.984 ms]
       change: [+0.0886% +0.3967% +0.7111%] (p = 0.01 < 0.05)

Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severe

transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [42.257 ms 42.345 ms 42.440 ms]
       change: [+0.5231% +0.7759% +1.0599%] (p = 0.00 < 0.05)

Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) low mild
1 (1.00%) high severe

transfer/pacing-false/same-seed: No change in performance detected.
       time:   [41.668 ms 41.744 ms 41.834 ms]
       change: [-0.4145% -0.1776% +0.0949%] (p = 0.21 > 0.05)

Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe

transfer/pacing-true/same-seed: Change within noise threshold.
       time:   [41.858 ms 41.924 ms 42.000 ms]
       change: [-0.6614% -0.4225% -0.1639%] (p = 0.00 < 0.05)

Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: No change in performance detected.
       time:   [873.70 ms 884.25 ms 895.06 ms]
       thrpt:  [111.72 MiB/s 113.09 MiB/s 114.46 MiB/s]
change:
       time:   [-1.8611% -0.2985% +1.3439%] (p = 0.72 > 0.05)
       thrpt:  [-1.3260% +0.2994% +1.8964%]
1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: No change in performance detected.
       time:   [301.30 ms 303.66 ms 306.04 ms]
       thrpt:  [32.676 Kelem/s 32.931 Kelem/s 33.189 Kelem/s]
change:
       time:   [-0.6372% +0.4261% +1.4883%] (p = 0.44 > 0.05)
       thrpt:  [-1.4665% -0.4243% +0.6413%]
1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: No change in performance detected.
       time:   [34.085 ms 34.261 ms 34.461 ms]
       thrpt:  [29.018  elem/s 29.188  elem/s 29.339  elem/s]
change:
       time:   [-0.9235% -0.1297% +0.6457%] (p = 0.75 > 0.05)
       thrpt:  [-0.6416% +0.1299% +0.9321%]

Found 11 outliers among 100 measurements (11.00%)
6 (6.00%) low mild
5 (5.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: 💚 Performance has improved.
       time:   [1.5976 s 1.6133 s 1.6289 s]
       thrpt:  [61.390 MiB/s 61.984 MiB/s 62.592 MiB/s]
change:
       time:   [-4.2338% -2.7700% -1.2673%] (p = 0.00 < 0.05)
       thrpt:  [+1.2836% +2.8489% +4.4210%]

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms]
gquiche gquiche 1504 565.0 ± 79.5 509.0 742.4
neqo gquiche reno on 1504 788.4 ± 69.5 736.1 924.4
neqo gquiche reno 1504 769.5 ± 40.1 733.5 868.1
neqo gquiche cubic on 1504 769.5 ± 47.2 731.9 885.5
neqo gquiche cubic 1504 780.9 ± 70.7 750.6 981.2
msquic msquic 1504 191.5 ± 115.2 101.6 570.5
neqo msquic reno on 1504 314.0 ± 97.6 211.1 463.5
neqo msquic reno 1504 244.2 ± 57.3 207.1 421.9
neqo msquic cubic on 1504 250.0 ± 66.4 203.9 399.2
neqo msquic cubic 1504 304.9 ± 87.3 215.3 414.4
gquiche neqo reno on 1504 726.7 ± 139.8 562.1 976.6
gquiche neqo reno 1504 706.9 ± 90.3 568.7 811.1
gquiche neqo cubic on 1504 733.7 ± 116.9 617.6 951.5
gquiche neqo cubic 1504 704.8 ± 114.6 560.1 885.6
msquic neqo reno on 1504 505.5 ± 45.0 469.7 596.5
msquic neqo reno 1504 517.4 ± 74.0 478.6 717.7
msquic neqo cubic on 1504 502.6 ± 70.3 463.8 697.9
msquic neqo cubic 1504 520.0 ± 52.1 479.5 615.4
neqo neqo reno on 1504 529.2 ± 97.1 469.4 792.2
neqo neqo reno 1504 503.2 ± 51.5 433.5 597.6
neqo neqo cubic on 1504 536.1 ± 104.5 442.1 745.3
neqo neqo cubic 1504 541.9 ± 67.4 466.0 707.9

⬇️ Download logs

@larseggert larseggert enabled auto-merge January 9, 2025 16:23
@larseggert larseggert added this pull request to the merge queue Jan 10, 2025
Merged via the queue into mozilla:main with commit 5aee532 Jan 10, 2025
62 of 63 checks passed
@larseggert larseggert deleted the chore-lints.rust branch January 10, 2025 07:20
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