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

Use retain to clear out old streams #2144

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

martinthomson
Copy link
Member

This is simpler code overall. It might even be faster. It certainly avoids an allocation.

This is simpler code overall.  It might even be faster.  It certainly
avoids an allocation.
Copy link

github-actions bot commented Oct 2, 2024

Failed Interop Tests

QUIC Interop Runner, client vs. server

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 Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.35%. Comparing base (a4c4ccd) to head (4f73ec3).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2144      +/-   ##
==========================================
- Coverage   95.35%   95.35%   -0.01%     
==========================================
  Files         112      112              
  Lines       36345    36336       -9     
==========================================
- Hits        34657    34648       -9     
  Misses       1688     1688              

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

Copy link

github-actions bot commented Oct 2, 2024

Benchmark results

Performance differences relative to a4c4ccd.

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [98.912 ns 99.576 ns 100.56 ns]
       change: [-0.7002% -0.1631% +0.4100%] (p = 0.58 > 0.05)

Found 11 outliers among 100 measurements (11.00%)
8 (8.00%) high mild
3 (3.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [116.84 ns 117.17 ns 117.52 ns]
       change: [-0.2656% +0.1840% +0.6315%] (p = 0.43 > 0.05)

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

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [116.18 ns 116.53 ns 116.98 ns]
       change: [-1.9280% -0.7792% +0.0945%] (p = 0.15 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
4 (4.00%) low severe
3 (3.00%) low mild
2 (2.00%) high mild
5 (5.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [97.020 ns 97.181 ns 97.361 ns]
       change: [-2.2018% -1.0929% +0.0494%] (p = 0.05 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
4 (4.00%) high mild
9 (9.00%) high severe

RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [111.19 ms 111.25 ms 111.32 ms]
       change: [-0.3237% -0.1143% +0.0285%] (p = 0.24 > 0.05)

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

transfer/pacing-false/varying-seeds: No change in performance detected.
       time:   [27.017 ms 28.139 ms 29.266 ms]
       change: [-3.9055% +2.0014% +8.3834%] (p = 0.51 > 0.05)
transfer/pacing-true/varying-seeds: No change in performance detected.
       time:   [35.732 ms 37.639 ms 39.544 ms]
       change: [-7.2348% -0.9713% +5.5349%] (p = 0.77 > 0.05)

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

transfer/pacing-false/same-seed: No change in performance detected.
       time:   [25.709 ms 26.533 ms 27.360 ms]
       change: [-7.9628% -3.7665% +0.3085%] (p = 0.07 > 0.05)

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

transfer/pacing-true/same-seed: No change in performance detected.
       time:   [40.332 ms 42.318 ms 44.292 ms]
       change: [-6.6557% +0.4523% +8.0061%] (p = 0.90 > 0.05)
1-conn/1-100mb-resp (aka. Download)/client: No change in performance detected.
       time:   [112.99 ms 113.33 ms 113.65 ms]
       thrpt:  [879.88 MiB/s 882.40 MiB/s 885.03 MiB/s]
change:
       time:   [-1.1627% -0.5632% +0.0039%] (p = 0.07 > 0.05)
       thrpt:  [-0.0039% +0.5663% +1.1764%]

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

1-conn/10_000-parallel-1b-resp (aka. RPS)/client: No change in performance detected.
       time:   [312.02 ms 316.30 ms 320.64 ms]
       thrpt:  [31.188 Kelem/s 31.615 Kelem/s 32.049 Kelem/s]
change:
       time:   [-2.6302% -0.8511% +0.9124%] (p = 0.34 > 0.05)
       thrpt:  [-0.9042% +0.8584% +2.7012%]
1-conn/1-1b-resp (aka. HPS)/client: Change within noise threshold.
       time:   [33.631 ms 33.797 ms 33.973 ms]
       thrpt:  [29.435  elem/s 29.588  elem/s 29.735  elem/s]
change:
       time:   [-1.6397% -0.8740% -0.1344%] (p = 0.03 < 0.05)
       thrpt:  [+0.1346% +0.8818% +1.6671%]

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

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing Mean [ms] Min [ms] Max [ms] Relative
msquic msquic 141.7 ± 66.0 91.4 381.0 1.00
neqo msquic reno on 244.2 ± 76.3 204.1 441.1 1.00
neqo msquic reno 216.2 ± 11.6 205.2 245.6 1.00
neqo msquic cubic on 253.2 ± 76.3 210.9 438.0 1.00
neqo msquic cubic 212.2 ± 8.7 202.7 234.5 1.00
msquic neqo reno on 152.0 ± 107.2 81.8 567.8 1.00
msquic neqo reno 112.3 ± 66.9 83.0 334.8 1.00
msquic neqo cubic on 120.9 ± 64.4 81.8 345.2 1.00
msquic neqo cubic 153.6 ± 79.3 83.8 288.8 1.00
neqo neqo reno on 217.8 ± 123.2 138.0 507.0 1.00
neqo neqo reno 178.1 ± 75.1 122.5 368.3 1.00
neqo neqo cubic on 225.3 ± 93.1 139.1 364.1 1.00
neqo neqo cubic 210.7 ± 94.0 121.1 378.8 1.00

⬇️ Download logs

@martinthomson martinthomson added this pull request to the merge queue Oct 2, 2024
Merged via the queue into mozilla:main with commit 824d7c4 Oct 2, 2024
62 of 63 checks passed
@martinthomson martinthomson deleted the retain-clear_terminal branch October 2, 2024 09:45
Copy link

github-actions bot commented Oct 2, 2024

Firefox builds for this PR

The following builds are available for testing. Crossed-out builds did not succeed.

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