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 the unused_result_ok lint #2333

Merged
merged 8 commits into from
Jan 10, 2025

Conversation

larseggert
Copy link
Collaborator

@larseggert larseggert commented Jan 9, 2025

Ignore errors explicitly.

This also exposed an unneeded `Result` being returned from `stream_fairness`,
which this PR also removes.
Copy link

github-actions bot commented Jan 9, 2025

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to e5770ce.

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
Collaborator

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Other than the silent return, this looks good to me.

neqo-transport/src/send_stream.rs Outdated Show resolved Hide resolved
@larseggert larseggert enabled auto-merge January 9, 2025 16:00
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.32%. Comparing base (b0fbde7) to head (f59c315).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
neqo-http3/src/connection.rs 66.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2333      +/-   ##
==========================================
- Coverage   93.33%   93.32%   -0.02%     
==========================================
  Files         114      114              
  Lines       36887    36891       +4     
  Branches    36887    36891       +4     
==========================================
  Hits        34428    34428              
- Misses       1679     1682       +3     
- Partials      780      781       +1     

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

Copy link

github-actions bot commented Jan 9, 2025

Benchmark results

Performance differences relative to 6013bde.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [11.168 µs 11.221 µs 11.289 µs]
       change: [-0.0548% +0.3713% +0.9029%] (p = 0.11 > 0.05)

Found 17 outliers among 100 measurements (17.00%)
1 (1.00%) low severe
3 (3.00%) low mild
1 (1.00%) high mild
12 (12.00%) high severe

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [3.0161 ms 3.0253 ms 3.0359 ms]
       change: [-0.6057% -0.1078% +0.4054%] (p = 0.67 > 0.05)

Found 9 outliers among 100 measurements (9.00%)
9 (9.00%) high severe

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [19.551 µs 19.674 µs 19.867 µs]
       change: [-0.5086% +0.4197% +1.4428%] (p = 0.44 > 0.05)

Found 19 outliers among 100 measurements (19.00%)
1 (1.00%) low severe
1 (1.00%) low mild
1 (1.00%) high mild
16 (16.00%) high severe

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [5.1582 ms 5.1694 ms 5.1822 ms]
       change: [-0.4588% -0.1300% +0.2050%] (p = 0.47 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
12 (12.00%) high severe

decode 4096 bytes, mask 3f: No change in performance detected.
       time:   [5.5344 µs 5.5550 µs 5.5835 µs]
       change: [-0.7775% +0.0900% +1.0671%] (p = 0.86 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
6 (6.00%) low mild
2 (2.00%) high mild
5 (5.00%) high severe

decode 1048576 bytes, mask 3f: No change in performance detected.
       time:   [1.7593 ms 1.7596 ms 1.7598 ms]
       change: [-0.7047% -0.3225% -0.0107%] (p = 0.06 > 0.05)

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

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [98.474 ns 98.767 ns 99.083 ns]
       change: [-0.4626% -0.0224% +0.3893%] (p = 0.92 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
1 (1.00%) high mild
9 (9.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [116.48 ns 117.34 ns 118.73 ns]
       change: [-0.9889% +0.1196% +1.3106%] (p = 0.86 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
3 (3.00%) low mild
9 (9.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [116.11 ns 116.41 ns 116.82 ns]
       change: [-0.6089% +0.0248% +0.6138%] (p = 0.95 > 0.05)

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

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [98.090 ns 98.258 ns 98.452 ns]
       change: [-0.5595% +0.6695% +1.9621%] (p = 0.31 > 0.05)

Found 7 outliers among 100 measurements (7.00%)
2 (2.00%) high mild
5 (5.00%) high severe

RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [110.95 ms 111.01 ms 111.07 ms]
       change: [-0.2788% -0.0802% +0.0526%] (p = 0.45 > 0.05)

Found 24 outliers among 100 measurements (24.00%)
11 (11.00%) low mild
13 (13.00%) high mild

SentPackets::take_ranges: No change in performance detected.
       time:   [5.4030 µs 5.4796 µs 5.5499 µs]
       change: [-1.9965% +2.7487% +10.372%] (p = 0.49 > 0.05)

Found 4 outliers among 100 measurements (4.00%)
1 (1.00%) high mild
3 (3.00%) high severe

transfer/pacing-false/varying-seeds: 💔 Performance has regressed.
       time:   [43.788 ms 43.888 ms 43.992 ms]
       change: [+4.8647% +5.1930% +5.5182%] (p = 0.00 < 0.05)

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

transfer/pacing-true/varying-seeds: 💔 Performance has regressed.
       time:   [44.047 ms 44.118 ms 44.191 ms]
       change: [+4.7546% +4.9965% +5.2568%] (p = 0.00 < 0.05)

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

transfer/pacing-false/same-seed: 💔 Performance has regressed.
       time:   [43.613 ms 43.683 ms 43.758 ms]
       change: [+4.2064% +4.4605% +4.7213%] (p = 0.00 < 0.05)

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

transfer/pacing-true/same-seed: 💔 Performance has regressed.
       time:   [43.602 ms 43.675 ms 43.753 ms]
       change: [+3.4793% +3.7368% +3.9881%] (p = 0.00 < 0.05)

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

1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: Change within noise threshold.
       time:   [891.63 ms 902.08 ms 912.78 ms]
       thrpt:  [109.56 MiB/s 110.86 MiB/s 112.15 MiB/s]
change:
       time:   [+0.1378% +1.7113% +3.3545%] (p = 0.04 < 0.05)
       thrpt:  [-3.2456% -1.6825% -0.1376%]
1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: No change in performance detected.
       time:   [300.02 ms 301.86 ms 303.71 ms]
       thrpt:  [32.926 Kelem/s 33.128 Kelem/s 33.332 Kelem/s]
change:
       time:   [-1.0959% -0.1701% +0.7537%] (p = 0.72 > 0.05)
       thrpt:  [-0.7481% +0.1704% +1.1081%]
1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: No change in performance detected.
       time:   [34.286 ms 34.482 ms 34.702 ms]
       thrpt:  [28.817  elem/s 29.001  elem/s 29.167  elem/s]
change:
       time:   [-0.3450% +0.5148% +1.3656%] (p = 0.24 > 0.05)
       thrpt:  [-1.3472% -0.5121% +0.3462%]

Found 11 outliers among 100 measurements (11.00%)
3 (3.00%) low mild
2 (2.00%) high mild
6 (6.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: Change within noise threshold.
       time:   [1.6124 s 1.6313 s 1.6501 s]
       thrpt:  [60.604 MiB/s 61.302 MiB/s 62.020 MiB/s]
change:
       time:   [-3.3357% -1.6884% -0.1312%] (p = 0.04 < 0.05)
       thrpt:  [+0.1313% +1.7174% +3.4508%]

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms]
gquiche gquiche 1504 626.0 ± 122.0 507.2 794.8
neqo gquiche reno on 1504 769.2 ± 67.7 729.7 959.1
neqo gquiche reno 1504 778.1 ± 61.7 726.7 921.6
neqo gquiche cubic on 1504 793.2 ± 82.9 727.6 982.4
neqo gquiche cubic 1504 792.6 ± 86.4 736.4 971.9
msquic msquic 1504 196.9 ± 122.6 105.3 572.9
neqo msquic reno on 1504 238.0 ± 51.8 202.7 386.5
neqo msquic reno 1504 321.1 ± 162.4 211.0 710.8
neqo msquic cubic on 1504 248.3 ± 73.1 212.0 440.9
neqo msquic cubic 1504 269.4 ± 72.3 210.9 420.3
gquiche neqo reno on 1504 682.2 ± 85.0 556.4 815.2
gquiche neqo reno 1504 725.1 ± 66.8 636.3 830.0
gquiche neqo cubic on 1504 722.9 ± 110.5 544.3 862.1
gquiche neqo cubic 1504 680.1 ± 86.7 561.7 793.0
msquic neqo reno on 1504 502.1 ± 42.6 478.2 621.5
msquic neqo reno 1504 519.6 ± 76.3 466.5 687.7
msquic neqo cubic on 1504 495.2 ± 43.6 462.5 604.6
msquic neqo cubic 1504 506.2 ± 47.9 465.4 608.2
neqo neqo reno on 1504 608.3 ± 158.5 472.3 947.3
neqo neqo reno 1504 526.5 ± 54.7 470.3 667.2
neqo neqo cubic on 1504 554.5 ± 79.1 499.4 768.9
neqo neqo cubic 1504 520.7 ± 51.4 463.1 610.1

⬇️ Download logs

Copy link
Collaborator

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Other than the outdated comment, this looks good to me.

neqo-http3/src/connection.rs Outdated Show resolved Hide resolved
@larseggert larseggert disabled auto-merge January 10, 2025 12:57
@larseggert larseggert merged commit e664280 into mozilla:main Jan 10, 2025
62 of 63 checks passed
@larseggert larseggert deleted the chore-unused_result_ok branch January 10, 2025 12:57
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