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: Use cargo-machete to check for unused dependencies #1974

Merged
merged 4 commits into from
Jul 12, 2024

Conversation

larseggert
Copy link
Collaborator

And remove the ones it found.

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.

In favor. Used https://github.com/est31/cargo-udeps in the past. Fine with either.

neqo-bin/Cargo.toml Show resolved Hide resolved
Copy link

github-actions bot commented Jul 11, 2024

Failed Interop Tests

QUIC Interop Runner, client vs. server

All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.97%. Comparing base (f1c04d2) to head (87d658d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1974   +/-   ##
=======================================
  Coverage   94.97%   94.97%           
=======================================
  Files         112      112           
  Lines       36509    36509           
=======================================
  Hits        34673    34673           
  Misses       1836     1836           

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

Copy link

github-actions bot commented Jul 11, 2024

Benchmark results

Performance differences relative to f1c04d2.

coalesce_acked_from_zero 1+1 entries: Change within noise threshold.
       time:   [194.70 ns 195.11 ns 195.57 ns]
       change: [+0.7723% +1.3967% +1.9220%] (p = 0.00 < 0.05)

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

coalesce_acked_from_zero 3+1 entries: 💔 Performance has regressed.
       time:   [238.60 ns 239.18 ns 239.81 ns]
       change: [+1.4065% +1.9612% +2.4946%] (p = 0.00 < 0.05)

Found 16 outliers among 100 measurements (16.00%)
1 (1.00%) low severe
4 (4.00%) low mild
11 (11.00%) high severe

coalesce_acked_from_zero 10+1 entries: 💔 Performance has regressed.
       time:   [239.33 ns 240.18 ns 241.18 ns]
       change: [+1.0029% +1.6692% +2.2467%] (p = 0.00 < 0.05)

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

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [215.78 ns 216.04 ns 216.33 ns]
       change: [-5.7663% -2.0134% +0.2696%] (p = 0.30 > 0.05)

Found 7 outliers among 100 measurements (7.00%)
3 (3.00%) high mild
4 (4.00%) high severe

RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [118.56 ms 118.62 ms 118.69 ms]
       change: [-0.3464% -0.1365% +0.0152%] (p = 0.15 > 0.05)

Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) high mild

transfer/Run multiple transfers with varying seeds: No change in performance detected.
       time:   [53.913 ms 56.956 ms 60.061 ms]
       thrpt:  [66.599 MiB/s 70.229 MiB/s 74.193 MiB/s]
change:
       time:   [-7.3515% -0.0338% +8.2726%] (p = 0.99 > 0.05)
       thrpt:  [-7.6405% +0.0338% +7.9348%]

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

transfer/Run multiple transfers with the same seed: No change in performance detected.
       time:   [70.630 ms 77.089 ms 83.511 ms]
       thrpt:  [47.898 MiB/s 51.888 MiB/s 56.633 MiB/s]
change:
       time:   [-1.6695% +10.156% +22.706%] (p = 0.09 > 0.05)
       thrpt:  [-18.504% -9.2199% +1.6978%]

Found 5 outliers among 100 measurements (5.00%)
5 (5.00%) low mild

1-conn/1-100mb-resp (aka. Download)/client: No change in performance detected.
       time:   [156.98 ms 168.74 ms 183.54 ms]
       thrpt:  [544.84 MiB/s 592.63 MiB/s 637.01 MiB/s]
change:
       time:   [-3.3270% +3.5676% +12.778%] (p = 0.49 > 0.05)
       thrpt:  [-11.331% -3.4447% +3.4415%]

Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high severe

1-conn/10_000-parallel-1b-resp (aka. RPS)/client: No change in performance detected.
       time:   [432.09 ms 435.41 ms 438.74 ms]
       thrpt:  [22.793 Kelem/s 22.967 Kelem/s 23.143 Kelem/s]
change:
       time:   [-1.3122% -0.1997% +0.8814%] (p = 0.72 > 0.05)
       thrpt:  [-0.8737% +0.2001% +1.3297%]
1-conn/1-1b-resp (aka. HPS)/client: No change in performance detected.
       time:   [43.677 ms 44.234 ms 44.803 ms]
       thrpt:  [22.320  elem/s 22.607  elem/s 22.895  elem/s]
change:
       time:   [-1.6460% +0.1251% +1.9025%] (p = 0.90 > 0.05)
       thrpt:  [-1.8670% -0.1249% +1.6735%]

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing Mean [ms] Min [ms] Max [ms] Relative
msquic msquic 178.8 ± 101.3 101.6 508.6 1.00
neqo msquic reno on 295.3 ± 55.8 262.0 451.9 1.00
neqo msquic reno 301.2 ± 49.2 268.7 402.3 1.00
neqo msquic cubic on 302.9 ± 64.6 261.6 460.9 1.00
neqo msquic cubic 315.6 ± 79.5 258.5 503.7 1.00
msquic neqo reno on 605.0 ± 1777.4 109.8 7497.0 1.00
msquic neqo reno 186.1 ± 89.2 111.7 417.9 1.00
msquic neqo cubic on 601.3 ± 1704.0 138.1 7414.0 1.00
msquic neqo cubic 172.4 ± 36.6 114.4 225.5 1.00
neqo neqo reno on 207.0 ± 78.4 161.4 448.4 1.00
neqo neqo reno 180.8 ± 20.0 161.6 232.3 1.00
neqo neqo cubic on 238.3 ± 148.4 147.4 630.0 1.00
neqo neqo cubic 175.3 ± 14.1 156.0 200.5 1.00

⬇️ Download logs

Copy link

Firefox builds for this PR

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

Signed-off-by: Lars Eggert <lars@eggert.org>
@larseggert larseggert added this pull request to the merge queue Jul 12, 2024
Merged via the queue into mozilla:main with commit 80c7969 Jul 12, 2024
57 checks passed
@larseggert larseggert deleted the ci-cargo-machete branch July 12, 2024 12:50
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.

None yet

3 participants