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 clippy cfg_not_test #2313

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

larseggert
Copy link
Collaborator

Copy link

github-actions bot commented Jan 7, 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

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.34%. Comparing base (80b4c3f) to head (bdc22aa).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2313      +/-   ##
==========================================
+ Coverage   93.33%   93.34%   +0.01%     
==========================================
  Files         114      114              
  Lines       36897    36897              
  Branches    36897    36897              
==========================================
+ Hits        34436    34441       +5     
  Misses       1681     1681              
+ Partials      780      775       -5     

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

@mxinden
Copy link
Collaborator

mxinden commented Jan 10, 2025

Seems like we have been calling set_local_param from non-test code before:

https://github.com/mozilla/neqo/pull/1320/files#diff-c12ab6f4e19997beb7332cd18b610377c597bd04a6c75631653680f4e00b8299L1168-L1175

But that was removed in the same pull request (#1320) that INTERNAL_TRANSPORT_PARAMETERS was introduced.

@larseggert
Copy link
Collaborator Author

Thanks for checking. So, a leftover.

@larseggert larseggert added this pull request to the merge queue Jan 10, 2025
Merged via the queue into mozilla:main with commit 648863b Jan 10, 2025
61 of 63 checks passed
@larseggert larseggert deleted the chore-cfg_not_test branch January 10, 2025 10:36
Copy link

Benchmark results

Performance differences relative to 6013bde.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [11.148 µs 11.179 µs 11.217 µs]
       change: [-0.3231% -0.0015% +0.3126%] (p = 0.99 > 0.05)

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

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [3.0141 ms 3.0230 ms 3.0327 ms]
       change: [-0.6594% -0.1833% +0.2617%] (p = 0.46 > 0.05)

Found 8 outliers among 100 measurements (8.00%)
1 (1.00%) low mild
7 (7.00%) high severe

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [19.537 µs 19.587 µs 19.642 µs]
       change: [-0.7494% +0.0066% +0.6358%] (p = 0.98 > 0.05)

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

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [5.1594 ms 5.1708 ms 5.1839 ms]
       change: [-0.4460% -0.1022% +0.2532%] (p = 0.57 > 0.05)

Found 15 outliers among 100 measurements (15.00%)
1 (1.00%) high mild
14 (14.00%) high severe

decode 4096 bytes, mask 3f: No change in performance detected.
       time:   [5.5330 µs 5.5557 µs 5.5849 µs]
       change: [-0.9013% -0.1575% +0.4802%] (p = 0.68 > 0.05)

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

decode 1048576 bytes, mask 3f: Change within noise threshold.
       time:   [1.7584 ms 1.7585 ms 1.7587 ms]
       change: [-0.7643% -0.3802% -0.0693%] (p = 0.02 < 0.05)

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

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [98.718 ns 99.078 ns 99.447 ns]
       change: [-0.4926% -0.1009% +0.2841%] (p = 0.62 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
3 (3.00%) high mild
7 (7.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [116.44 ns 116.72 ns 117.03 ns]
       change: [-1.0687% -0.2224% +0.4080%] (p = 0.62 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
1 (1.00%) low severe
4 (4.00%) high mild
9 (9.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [116.05 ns 117.00 ns 118.76 ns]
       change: [-0.7426% +0.1790% +1.4655%] (p = 0.80 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
4 (4.00%) low severe
3 (3.00%) low mild
3 (3.00%) high mild
3 (3.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [97.421 ns 97.583 ns 97.765 ns]
       change: [-1.3669% -0.1674% +0.9866%] (p = 0.80 > 0.05)

Found 9 outliers among 100 measurements (9.00%)
3 (3.00%) high mild
6 (6.00%) high severe

RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [110.97 ms 111.10 ms 111.31 ms]
       change: [-0.2348% -0.0002% +0.2472%] (p = 1.00 > 0.05)

Found 22 outliers among 100 measurements (22.00%)
10 (10.00%) low mild
4 (4.00%) high mild
8 (8.00%) high severe

SentPackets::take_ranges: No change in performance detected.
       time:   [5.5117 µs 5.6694 µs 5.8323 µs]
       change: [-1.5459% +0.9452% +3.7415%] (p = 0.47 > 0.05)

Found 8 outliers among 100 measurements (8.00%)
6 (6.00%) high mild
2 (2.00%) high severe

transfer/pacing-false/varying-seeds: Change within noise threshold.
       time:   [42.532 ms 42.619 ms 42.705 ms]
       change: [+1.8467% +2.1502% +2.4450%] (p = 0.00 < 0.05)
transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [42.869 ms 42.952 ms 43.039 ms]
       change: [+1.9664% +2.2197% +2.4892%] (p = 0.00 < 0.05)

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

transfer/pacing-false/same-seed: Change within noise threshold.
       time:   [42.357 ms 42.423 ms 42.489 ms]
       change: [+1.1988% +1.4456% +1.6878%] (p = 0.00 < 0.05)

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

transfer/pacing-true/same-seed: Change within noise threshold.
       time:   [42.853 ms 42.912 ms 42.969 ms]
       change: [+1.6890% +1.9234% +2.1481%] (p = 0.00 < 0.05)

Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) low mild

1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: No change in performance detected.
       time:   [873.00 ms 882.04 ms 891.49 ms]
       thrpt:  [112.17 MiB/s 113.37 MiB/s 114.55 MiB/s]
change:
       time:   [-1.9789% -0.5472% +0.9686%] (p = 0.48 > 0.05)
       thrpt:  [-0.9593% +0.5502% +2.0188%]

Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild

1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: No change in performance detected.
       time:   [300.29 ms 302.69 ms 305.08 ms]
       thrpt:  [32.778 Kelem/s 33.037 Kelem/s 33.301 Kelem/s]
change:
       time:   [-0.9239% +0.1043% +1.1507%] (p = 0.85 > 0.05)
       thrpt:  [-1.1376% -0.1042% +0.9325%]

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

1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: No change in performance detected.
       time:   [34.266 ms 34.459 ms 34.676 ms]
       thrpt:  [28.839  elem/s 29.020  elem/s 29.183  elem/s]
change:
       time:   [-0.3453% +0.4480% +1.3090%] (p = 0.29 > 0.05)
       thrpt:  [-1.2921% -0.4460% +0.3464%]

Found 8 outliers among 100 measurements (8.00%)
2 (2.00%) low mild
6 (6.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: No change in performance detected.
       time:   [1.6422 s 1.6621 s 1.6819 s]
       thrpt:  [59.456 MiB/s 60.166 MiB/s 60.892 MiB/s]
change:
       time:   [-1.4671% +0.1687% +1.8247%] (p = 0.84 > 0.05)
       thrpt:  [-1.7920% -0.1684% +1.4890%]

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms]
gquiche gquiche 1504 573.0 ± 86.7 515.9 757.2
neqo gquiche reno on 1504 791.0 ± 82.2 727.6 978.6
neqo gquiche reno 1504 849.8 ± 109.0 739.7 982.4
neqo gquiche cubic on 1504 755.5 ± 6.1 746.6 764.3
neqo gquiche cubic 1504 792.7 ± 57.2 747.0 904.3
msquic msquic 1504 183.9 ± 122.9 91.5 563.2
neqo msquic reno on 1504 275.2 ± 89.5 205.1 505.1
neqo msquic reno 1504 212.8 ± 14.0 196.8 245.0
neqo msquic cubic on 1504 277.1 ± 85.6 210.0 430.5
neqo msquic cubic 1504 273.5 ± 86.7 208.2 451.1
gquiche neqo reno on 1504 694.6 ± 104.0 552.8 847.4
gquiche neqo reno 1504 716.0 ± 104.3 553.4 939.5
gquiche neqo cubic on 1504 724.4 ± 145.0 569.1 1002.3
gquiche neqo cubic 1504 702.0 ± 103.4 553.5 880.3
msquic neqo reno on 1504 524.4 ± 58.2 473.7 643.5
msquic neqo reno 1504 493.8 ± 37.5 474.6 597.5
msquic neqo cubic on 1504 524.8 ± 63.3 472.7 628.7
msquic neqo cubic 1504 515.3 ± 45.9 483.5 642.4
neqo neqo reno on 1504 495.4 ± 47.3 454.0 611.5
neqo neqo reno 1504 518.5 ± 59.9 457.1 609.2
neqo neqo cubic on 1504 529.4 ± 31.0 481.0 581.3
neqo neqo cubic 1504 577.3 ± 64.9 525.5 757.4

⬇️ Download logs

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