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: Convert FrameType to an enum #2438

Merged
merged 8 commits into from
Feb 12, 2025

Conversation

larseggert
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 96.10390% with 6 lines in your changes missing coverage. Please review.

Project coverage is 92.81%. Comparing base (db807a9) to head (9926dc0).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
neqo-transport/src/frame.rs 94.91% 2 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2438      +/-   ##
==========================================
- Coverage   95.27%   92.81%   -2.46%     
==========================================
  Files         115      115              
  Lines       37135    37198      +63     
  Branches    37135    37198      +63     
==========================================
- Hits        35381    34527     -854     
- Misses       1748     1822      +74     
- Partials        6      849     +843     

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

Copy link

github-actions bot commented Feb 11, 2025

Failed Interop Tests

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

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

Signed-off-by: Lars Eggert <lars@eggert.org>
Copy link

github-actions bot commented Feb 11, 2025

Benchmark results

Performance differences relative to d21c121.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [12.345 µs 12.395 µs 12.448 µs]
       change: [-0.4244% +0.1166% +0.5414%] (p = 0.65 > 0.05)

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

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [2.8368 ms 2.8467 ms 2.8578 ms]
       change: [-1.3856% -0.2873% +0.5194%] (p = 0.63 > 0.05)

Found 11 outliers among 100 measurements (11.00%)
11 (11.00%) high severe

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [20.851 µs 20.905 µs 20.962 µs]
       change: [-0.3284% +0.1232% +0.5671%] (p = 0.60 > 0.05)

Found 23 outliers among 100 measurements (23.00%)
2 (2.00%) low severe
5 (5.00%) low mild
2 (2.00%) high mild
14 (14.00%) high severe

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [4.5387 ms 4.5499 ms 4.5627 ms]
       change: [-0.4865% -0.0903% +0.3235%] (p = 0.65 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
1 (1.00%) high mild
12 (12.00%) high severe

decode 4096 bytes, mask 3f: Change within noise threshold.
       time:   [8.2512 µs 8.2594 µs 8.2736 µs]
       change: [-1.4218% -0.7303% -0.0914%] (p = 0.03 < 0.05)

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

decode 1048576 bytes, mask 3f: No change in performance detected.
       time:   [1.5884 ms 1.5940 ms 1.6009 ms]
       change: [-0.4608% +0.0661% +0.5977%] (p = 0.87 > 0.05)

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

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [91.169 ns 91.441 ns 91.714 ns]
       change: [-1.2577% -0.4105% +0.2840%] (p = 0.34 > 0.05)

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

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [109.87 ns 110.27 ns 110.73 ns]
       change: [-0.3083% +0.1111% +0.5257%] (p = 0.61 > 0.05)

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

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [109.28 ns 109.66 ns 110.13 ns]
       change: [-1.1425% -0.4068% +0.2400%] (p = 0.26 > 0.05)

Found 15 outliers among 100 measurements (15.00%)
6 (6.00%) low severe
1 (1.00%) low mild
3 (3.00%) high mild
5 (5.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [93.424 ns 93.554 ns 93.689 ns]
       change: [-1.1431% -0.0373% +1.2548%] (p = 0.95 > 0.05)

Found 9 outliers among 100 measurements (9.00%)
2 (2.00%) high mild
7 (7.00%) high severe

RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [112.26 ms 112.40 ms 112.63 ms]
       change: [-0.1932% +0.0059% +0.2541%] (p = 0.97 > 0.05)

Found 17 outliers among 100 measurements (17.00%)
7 (7.00%) low mild
9 (9.00%) high mild
1 (1.00%) high severe

SentPackets::take_ranges: No change in performance detected.
       time:   [5.2519 µs 5.4466 µs 5.6486 µs]
       change: [-1.4441% +1.4738% +4.3981%] (p = 0.33 > 0.05)

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

transfer/pacing-false/varying-seeds: No change in performance detected.
       time:   [34.456 ms 34.527 ms 34.601 ms]
       change: [-0.2938% +0.0079% +0.2914%] (p = 0.96 > 0.05)

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

transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [34.749 ms 34.826 ms 34.912 ms]
       change: [+0.1800% +0.4437% +0.7462%] (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-false/same-seed: Change within noise threshold.
       time:   [34.695 ms 34.745 ms 34.796 ms]
       change: [+0.4179% +0.6234% +0.8242%] (p = 0.00 < 0.05)
transfer/pacing-true/same-seed: Change within noise threshold.
       time:   [34.888 ms 34.950 ms 35.012 ms]
       change: [+0.2746% +0.5398% +0.8086%] (p = 0.00 < 0.05)

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

1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: 💚 Performance has improved.
       time:   [825.62 ms 835.90 ms 846.54 ms]
       thrpt:  [118.13 MiB/s 119.63 MiB/s 121.12 MiB/s]
change:
       time:   [-5.4228% -3.7642% -2.1456%] (p = 0.00 < 0.05)
       thrpt:  [+2.1927% +3.9114% +5.7337%]
1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: No change in performance detected.
       time:   [313.79 ms 317.01 ms 320.21 ms]
       thrpt:  [31.229 Kelem/s 31.545 Kelem/s 31.868 Kelem/s]
change:
       time:   [-2.2833% -0.7774% +0.6263%] (p = 0.30 > 0.05)
       thrpt:  [-0.6224% +0.7834% +2.3366%]
1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: No change in performance detected.
       time:   [25.391 ms 25.546 ms 25.704 ms]
       thrpt:  [38.904  elem/s 39.146  elem/s 39.383  elem/s]
change:
       time:   [-1.8081% -0.8904% +0.0209%] (p = 0.06 > 0.05)
       thrpt:  [-0.0209% +0.8984% +1.8414%]

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

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: No change in performance detected.
       time:   [1.8393 s 1.8575 s 1.8761 s]
       thrpt:  [53.302 MiB/s 53.835 MiB/s 54.368 MiB/s]
change:
       time:   [-1.1138% +0.3365% +1.6606%] (p = 0.63 > 0.05)
       thrpt:  [-1.6335% -0.3353% +1.1264%]

Client/server transfer results

Performance differences relative to d21c121.

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

Client Server CC Pacing Mean ± σ Min Max Δ main Δ main
neqo neqo reno on 533.7 ± 82.9 460.2 833.9 -0.8 -0.0%
neqo neqo reno 580.4 ± 178.5 445.4 1312.3 22.1 1.0%
neqo neqo cubic on 559.0 ± 80.2 454.0 850.7 16.8 0.8%
neqo neqo cubic 551.8 ± 39.3 498.5 699.9 💔 24.7 1.1%
google neqo reno on 885.0 ± 105.2 642.9 1085.1 💔 1.8 0.1%
google neqo reno 899.0 ± 132.5 637.9 1257.3 💔 4.8 0.1%
google neqo cubic on 886.8 ± 97.7 629.6 1080.5 💔 3.5 0.1%
google neqo cubic 884.9 ± 108.8 645.6 1131.6 💔 7.6 0.2%
google google 548.3 ± 35.6 520.3 660.9 💔 3.0 0.1%
neqo msquic reno on 243.6 ± 83.9 203.5 632.3 💔 16.9 1.8%
neqo msquic reno 228.2 ± 42.4 180.5 404.4 💔 4.1 0.5%
neqo msquic cubic on 227.2 ± 42.5 200.5 439.7 💔 -7.4 -0.8%
neqo msquic cubic 232.3 ± 39.8 202.6 380.6 💔 2.7 0.3%
msquic msquic 119.0 ± 30.9 98.3 261.0 💔 6.6 1.4%

⬇️ Download logs

Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

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

Seems pretty good to me.

neqo-transport/src/ackrate.rs Outdated Show resolved Hide resolved
neqo-transport/src/connection/tests/resumption.rs Outdated Show resolved Hide resolved
neqo-transport/src/connection/tests/stream.rs Outdated Show resolved Hide resolved
neqo-transport/src/frame.rs Show resolved Hide resolved
neqo-transport/src/frame.rs Show resolved Hide resolved
neqo-transport/src/frame.rs Show resolved Hide resolved
neqo-transport/src/frame.rs Show resolved Hide resolved
neqo-transport/src/qlog.rs Show resolved Hide resolved
larseggert and others added 5 commits February 12, 2025 08:39
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Signed-off-by: Lars Eggert <lars@eggert.org>
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Signed-off-by: Lars Eggert <lars@eggert.org>
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Signed-off-by: Lars Eggert <lars@eggert.org>
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Signed-off-by: Lars Eggert <lars@eggert.org>
@larseggert larseggert mentioned this pull request Feb 12, 2025
@larseggert larseggert enabled auto-merge February 12, 2025 13:49
@larseggert larseggert disabled auto-merge February 12, 2025 15:00
@larseggert larseggert merged commit 966ece6 into mozilla:main Feb 12, 2025
69 of 72 checks passed
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.

3 participants