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

ci: Enable MC/DC coverage #2280

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

larseggert
Copy link
Collaborator

@larseggert larseggert commented Dec 11, 2024

https://en.wikipedia.org/wiki/Code_coverage#Modified_condition/decision_coverage

The point of the PR is to make it easier to spot lines with partial coverage, which AFAICT currently show up as green.

MC/DC is finding some partially covered lines, so coverage drops. This is expected.

en.wikipedia.org/wiki/Code_coverage#Modified_condition/decision_coverage

MC/DC is finding some partially covered lines, so coverage drops. This is expected.
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.

Neat. I wasn't aware of MC/DC.

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.41%. Comparing base (a1b9364) to head (cf3830d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2280      +/-   ##
==========================================
- Coverage   95.40%   93.41%   -1.99%     
==========================================
  Files         113      113              
  Lines       36721    36743      +22     
  Branches        0     1632    +1632     
==========================================
- Hits        35032    34325     -707     
  Misses       1689     1689              
- Partials        0      729     +729     

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

Copy link

Failed Interop Tests

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

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

Benchmark results

Performance differences relative to a1b9364.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [11.850 µs 11.899 µs 11.964 µs]
       change: [-0.3611% +0.1804% +0.7242%] (p = 0.53 > 0.05)

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

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [3.0933 ms 3.1005 ms 3.1094 ms]
       change: [-0.7806% -0.3230% +0.0892%] (p = 0.15 > 0.05)

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

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [19.785 µs 19.830 µs 19.883 µs]
       change: [-0.0417% +0.4901% +1.2036%] (p = 0.11 > 0.05)

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

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [5.1674 ms 5.1801 ms 5.1934 ms]
       change: [-0.3607% -0.0071% +0.3427%] (p = 0.94 > 0.05)

Found 15 outliers among 100 measurements (15.00%)
15 (15.00%) high severe

decode 4096 bytes, mask 3f: No change in performance detected.
       time:   [6.9101 µs 6.9437 µs 6.9839 µs]
       change: [-0.1015% +0.3997% +0.9594%] (p = 0.15 > 0.05)

Found 18 outliers among 100 measurements (18.00%)
2 (2.00%) low mild
6 (6.00%) high mild
10 (10.00%) high severe

decode 1048576 bytes, mask 3f: No change in performance detected.
       time:   [1.7627 ms 1.7696 ms 1.7778 ms]
       change: [-0.3577% +0.1794% +0.7349%] (p = 0.52 > 0.05)

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

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [104.86 ns 105.24 ns 105.62 ns]
       change: [-0.4447% -0.0195% +0.4176%] (p = 0.93 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
10 (10.00%) high mild
3 (3.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [120.33 ns 121.19 ns 122.50 ns]
       change: [-0.4940% +0.0207% +0.6251%] (p = 0.95 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
1 (1.00%) high mild
11 (11.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [119.82 ns 120.07 ns 120.40 ns]
       change: [-0.7413% -0.2593% +0.1567%] (p = 0.29 > 0.05)

Found 9 outliers among 100 measurements (9.00%)
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:   [100.89 ns 101.04 ns 101.22 ns]
       change: [-0.5602% +0.3030% +1.2041%] (p = 0.51 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
5 (5.00%) high mild
5 (5.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [110.86 ms 110.93 ms 110.99 ms]
       change: [-0.2844% -0.2073% -0.1337%] (p = 0.00 < 0.05)

Found 22 outliers among 100 measurements (22.00%)
6 (6.00%) low severe
4 (4.00%) low mild
2 (2.00%) high mild
10 (10.00%) high severe

SentPackets::take_ranges: No change in performance detected.
       time:   [5.5272 µs 5.6806 µs 5.8343 µs]
       change: [-3.0375% +5.0037% +17.897%] (p = 0.58 > 0.05)

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

transfer/pacing-false/varying-seeds: No change in performance detected.
       time:   [28.855 ms 29.447 ms 30.032 ms]
       change: [-1.3773% +1.3515% +4.1141%] (p = 0.33 > 0.05)

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

transfer/pacing-true/varying-seeds: No change in performance detected.
       time:   [30.679 ms 31.198 ms 31.703 ms]
       change: [-4.4035% -2.0177% +0.1401%] (p = 0.08 > 0.05)
transfer/pacing-false/same-seed: No change in performance detected.
       time:   [24.810 ms 25.302 ms 25.791 ms]
       change: [-2.3234% +0.7452% +3.7865%] (p = 0.63 > 0.05)

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

transfer/pacing-true/same-seed: No change in performance detected.
       time:   [27.103 ms 27.880 ms 28.652 ms]
       change: [-4.6475% -0.7642% +3.4238%] (p = 0.71 > 0.05)
1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: No change in performance detected.
       time:   [892.94 ms 903.38 ms 913.86 ms]
       thrpt:  [109.43 MiB/s 110.70 MiB/s 111.99 MiB/s]
change:
       time:   [-0.9790% +0.5823% +2.2308%] (p = 0.47 > 0.05)
       thrpt:  [-2.1822% -0.5789% +0.9886%]
1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: No change in performance detected.
       time:   [315.39 ms 318.47 ms 321.62 ms]
       thrpt:  [31.092 Kelem/s 31.400 Kelem/s 31.707 Kelem/s]
change:
       time:   [-0.6911% +0.6283% +2.0148%] (p = 0.38 > 0.05)
       thrpt:  [-1.9750% -0.6244% +0.6959%]

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

1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: Change within noise threshold.
       time:   [33.692 ms 33.882 ms 34.091 ms]
       thrpt:  [29.334  elem/s 29.514  elem/s 29.681  elem/s]
change:
       time:   [+0.0561% +0.8559% +1.6544%] (p = 0.04 < 0.05)
       thrpt:  [-1.6275% -0.8486% -0.0561%]

Found 12 outliers among 100 measurements (12.00%)
7 (7.00%) low mild
5 (5.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: 💚 Performance has improved.
       time:   [1.6234 s 1.6404 s 1.6576 s]
       thrpt:  [60.329 MiB/s 60.959 MiB/s 61.601 MiB/s]
change:
       time:   [-4.5466% -3.1425% -1.6568%] (p = 0.00 < 0.05)
       thrpt:  [+1.6847% +3.2444% +4.7632%]

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms]
gquiche gquiche 1504 559.4 ± 81.1 507.9 720.1
neqo gquiche reno on 1504 807.1 ± 92.0 748.4 998.9
neqo gquiche reno 1504 786.3 ± 60.8 752.2 957.6
neqo gquiche cubic on 1504 800.4 ± 68.7 758.6 975.3
neqo gquiche cubic 1504 827.1 ± 92.8 776.1 1081.6
msquic msquic 1504 228.0 ± 171.9 98.9 787.0
neqo msquic reno on 1504 243.7 ± 64.6 207.7 445.2
neqo msquic reno 1504 312.3 ± 105.5 219.0 525.0
neqo msquic cubic on 1504 273.9 ± 94.8 213.0 496.2
neqo msquic cubic 1504 303.3 ± 123.6 205.0 577.7
gquiche neqo reno on 1504 710.2 ± 161.4 542.7 1081.6
gquiche neqo reno 1504 741.7 ± 130.4 551.1 915.4
gquiche neqo cubic on 1504 690.6 ± 78.4 562.1 806.6
gquiche neqo cubic 1504 712.3 ± 87.5 546.2 837.3
msquic neqo reno on 1504 480.0 ± 31.8 459.3 567.7
msquic neqo reno 1504 525.0 ± 75.0 472.4 672.8
msquic neqo cubic on 1504 527.9 ± 94.6 460.5 682.3
msquic neqo cubic 1504 486.9 ± 7.7 476.1 497.2
neqo neqo reno on 1504 567.0 ± 99.6 470.0 734.3
neqo neqo reno 1504 545.2 ± 79.7 464.1 749.8
neqo neqo cubic on 1504 589.9 ± 81.7 533.8 783.6
neqo neqo cubic 1504 527.2 ± 31.3 471.4 575.3

⬇️ 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.

Do we need to set some new targets, or just accept a new lower threshold?

@martinthomson martinthomson merged commit 0e6d3be into mozilla:main Dec 11, 2024
62 of 64 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