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

test: Dump simulator RNG seeds #2165

Merged
merged 15 commits into from
Oct 11, 2024
Merged

Conversation

larseggert
Copy link
Collaborator

Into the directory given in the DUMP_SIMULATION_SEEDS environment variable. Also, export them as artifacts from the CI runs.

Fixes #1645

Into the directory given in the `DUMP_SIMULATION_SEEDS` environment
variable. Also, export them as artifacts from the CI runs.

Fixes mozilla#1645
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.38%. Comparing base (249d062) to head (ba8e6ce).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2165      +/-   ##
==========================================
- Coverage   95.39%   95.38%   -0.01%     
==========================================
  Files         112      112              
  Lines       36373    36373              
==========================================
- Hits        34697    34696       -1     
- Misses       1676     1677       +1     

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

Copy link

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

@larseggert larseggert marked this pull request as ready for review October 10, 2024 07:46
Copy link

github-actions bot commented Oct 10, 2024

Benchmark results

Performance differences relative to 249d062.

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [98.671 ns 98.990 ns 99.315 ns]
       change: [-0.6423% -0.2622% +0.1362%] (p = 0.21 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
8 (8.00%) high mild
2 (2.00%) high severe

coalesce_acked_from_zero 3+1 entries: Change within noise threshold.
       time:   [116.38 ns 116.69 ns 117.03 ns]
       change: [-0.7423% -0.4520% -0.1792%] (p = 0.00 < 0.05)

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

coalesce_acked_from_zero 10+1 entries: Change within noise threshold.
       time:   [116.03 ns 116.40 ns 116.86 ns]
       change: [-2.0044% -1.0070% -0.2628%] (p = 0.01 < 0.05)

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

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [97.248 ns 97.404 ns 97.572 ns]
       change: [-1.2663% -0.1279% +1.0260%] (p = 0.85 > 0.05)

Found 9 outliers among 100 measurements (9.00%)
4 (4.00%) high mild
5 (5.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [110.98 ms 111.04 ms 111.11 ms]
       change: [-0.2564% -0.1746% -0.0937%] (p = 0.00 < 0.05)

Found 18 outliers among 100 measurements (18.00%)
9 (9.00%) low mild
8 (8.00%) high mild
1 (1.00%) high severe

transfer/pacing-false/varying-seeds: No change in performance detected.
       time:   [25.389 ms 26.463 ms 27.539 ms]
       change: [-7.0017% -2.0775% +3.1047%] (p = 0.44 > 0.05)
transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [32.221 ms 33.779 ms 35.365 ms]
       change: [-13.935% -8.1528% -1.6404%] (p = 0.02 < 0.05)

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

transfer/pacing-false/same-seed: No change in performance detected.
       time:   [25.242 ms 26.045 ms 26.875 ms]
       change: [-4.8638% -0.6457% +3.5050%] (p = 0.77 > 0.05)

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

transfer/pacing-true/same-seed: No change in performance detected.
       time:   [40.542 ms 42.521 ms 44.554 ms]
       change: [-6.0567% -0.2418% +6.7835%] (p = 0.94 > 0.05)

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

1-conn/1-100mb-resp (aka. Download)/client: Change within noise threshold.
       time:   [113.78 ms 114.17 ms 114.54 ms]
       thrpt:  [873.02 MiB/s 875.87 MiB/s 878.91 MiB/s]
change:
       time:   [-1.1122% -0.6722% -0.1764%] (p = 0.00 < 0.05)
       thrpt:  [+0.1767% +0.6767% +1.1247%]

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

1-conn/10_000-parallel-1b-resp (aka. RPS)/client: No change in performance detected.
       time:   [312.52 ms 316.38 ms 320.22 ms]
       thrpt:  [31.228 Kelem/s 31.608 Kelem/s 31.998 Kelem/s]
change:
       time:   [-0.5527% +1.0820% +2.8382%] (p = 0.21 > 0.05)
       thrpt:  [-2.7598% -1.0704% +0.5557%]
1-conn/1-1b-resp (aka. HPS)/client: No change in performance detected.
       time:   [34.026 ms 34.231 ms 34.455 ms]
       thrpt:  [29.023  elem/s 29.213  elem/s 29.389  elem/s]
change:
       time:   [-0.0599% +0.7421% +1.6343%] (p = 0.08 > 0.05)
       thrpt:  [-1.6080% -0.7366% +0.0600%]

Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) high mild
4 (4.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 173.8 ± 89.5 94.7 416.8 1.00
neqo msquic reno on 256.5 ± 70.5 213.9 427.9 1.00
neqo msquic reno 245.2 ± 62.5 217.9 441.4 1.00
neqo msquic cubic on 242.1 ± 54.8 209.4 412.6 1.00
neqo msquic cubic 268.4 ± 80.7 218.2 474.3 1.00
msquic neqo reno on 140.7 ± 73.5 90.7 320.9 1.00
msquic neqo reno 173.6 ± 100.6 87.0 342.6 1.00
msquic neqo cubic on 164.8 ± 101.6 83.0 367.7 1.00
msquic neqo cubic 119.3 ± 56.7 82.0 320.9 1.00
neqo neqo reno on 272.3 ± 145.5 141.1 641.3 1.00
neqo neqo reno 199.7 ± 79.9 127.2 398.1 1.00
neqo neqo cubic on 209.1 ± 74.4 134.7 358.5 1.00
neqo neqo cubic 237.3 ± 140.9 138.7 593.6 1.00

⬇️ Download logs

mxinden
mxinden approved these changes Oct 10, 2024
test-fixture/src/sim/mod.rs Outdated Show resolved Hide resolved
.github/workflows/check.yml Outdated Show resolved Hide resolved
.github/workflows/check.yml Show resolved Hide resolved
test-fixture/src/sim/rng.rs Outdated Show resolved Hide resolved
test-fixture/src/sim/mod.rs Outdated Show resolved Hide resolved
test-fixture/src/sim/mod.rs Outdated Show resolved Hide resolved
larseggert and others added 6 commits October 11, 2024 08:02
Co-authored-by: Martin Thomson <[email protected]>
Signed-off-by: Lars Eggert <[email protected]>
Co-authored-by: Martin Thomson <[email protected]>
Signed-off-by: Lars Eggert <[email protected]>
Co-authored-by: Martin Thomson <[email protected]>
Signed-off-by: Lars Eggert <[email protected]>
@larseggert larseggert added this pull request to the merge queue Oct 11, 2024
Merged via the queue into mozilla:main with commit 9ef0355 Oct 11, 2024
63 of 69 checks passed
@larseggert larseggert deleted the test-dump-seed branch October 11, 2024 06:30
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.

Output seed to stdout for tests
3 participants