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

[StepSecurity] Update the pre-commit configuration #1950

Conversation

step-security-bot
Copy link
Contributor

Summary

This pull request is created by StepSecurity at the request of @larseggert. Please merge the Pull Request to incorporate the requested changes. Please tag @larseggert on your message if you have any questions related to the PR.

Security Fixes

Maintain Code Quality with Pre-Commit

Pre-commit is a framework for managing and maintaining multi-language pre-commit hooks. Hooks can be any scripts, code, or binaries that run at any stage of the git workflow. Pre-commit hooks are useful for enforcing code quality, code formatting, and detecting security vulnerabilities.

Feedback

For bug reports, feature requests, and general feedback; please email support@stepsecurity.io. To create such PRs, please visit https://app.stepsecurity.io/securerepo.

Signed-off-by: StepSecurity Bot bot@stepsecurity.io

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
@larseggert larseggert changed the title [StepSecurity] Apply security best practices [StepSecurity] Update the pre-commit configuration Jul 2, 2024
Copy link

github-actions bot commented Jul 2, 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 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.81%. Comparing base (c9ff46e) to head (1b40a4b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1950   +/-   ##
=======================================
  Coverage   94.81%   94.81%           
=======================================
  Files         110      110           
  Lines       35773    35773           
=======================================
  Hits        33918    33918           
  Misses       1855     1855           

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

Copy link

github-actions bot commented Jul 2, 2024

Firefox builds for this PR

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

Copy link

github-actions bot commented Jul 2, 2024

Benchmark results

Performance differences relative to ea54273.

coalesce_acked_from_zero 1+1 entries: 💔 Performance has regressed.
       time:   [195.65 ns 196.11 ns 196.61 ns]
       change: [+2.1496% +2.5117% +2.8617%] (p = 0.00 < 0.05)
Found 16 outliers among 100 measurements (16.00%)
  1 (1.00%) low severe
  8 (8.00%) high mild
  7 (7.00%) high severe
coalesce_acked_from_zero 3+1 entries: 💔 Performance has regressed.
       time:   [236.50 ns 237.03 ns 237.61 ns]
       change: [+1.5257% +1.8942% +2.3053%] (p = 0.00 < 0.05)
Found 11 outliers among 100 measurements (11.00%)
  11 (11.00%) high severe
coalesce_acked_from_zero 10+1 entries: 💔 Performance has regressed.
       time:   [236.88 ns 237.69 ns 238.64 ns]
       change: [+1.0166% +1.5597% +2.0684%] (p = 0.00 < 0.05)
Found 8 outliers among 100 measurements (8.00%)
  1 (1.00%) high mild
  7 (7.00%) high severe
coalesce_acked_from_zero 1000+1 entries: Change within noise threshold.
       time:   [217.61 ns 217.78 ns 217.97 ns]
       change: [+0.0386% +0.8423% +1.5483%] (p = 0.02 < 0.05)
Found 17 outliers among 100 measurements (17.00%)
  4 (4.00%) high mild
  13 (13.00%) high severe
RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [117.88 ms 117.98 ms 118.09 ms]
       change: [-0.1871% -0.0712% +0.0431%] (p = 0.24 > 0.05)
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild
transfer/Run multiple transfers with varying seeds: Change within noise threshold.
       time:   [120.45 ms 120.73 ms 121.01 ms]
       thrpt:  [33.054 MiB/s 33.131 MiB/s 33.208 MiB/s]
change:
       time:   [+0.4235% +0.7233% +1.0454%] (p = 0.00 < 0.05)
       thrpt:  [-1.0345% -0.7181% -0.4217%]

transfer/Run multiple transfers with the same seed
time: [121.20 ms 121.36 ms 121.52 ms]
thrpt: [32.915 MiB/s 32.960 MiB/s 33.005 MiB/s]
change:
time: [+0.7907% +1.0017% +1.2094%] (p = 0.00 < 0.05)
thrpt: [-1.1950% -0.9917% -0.7845%]
Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild

1-conn/1-100mb-resp (aka. Download)/client: No change in performance detected.
       time:   [1.0914 s 1.1184 s 1.1490 s]
       thrpt:  [87.034 MiB/s 89.412 MiB/s 91.626 MiB/s]
change:
       time:   [-0.6268% +2.7697% +6.4014%] (p = 0.17 > 0.05)
       thrpt:  [-6.0163% -2.6951% +0.6307%]

1-conn/10_000-parallel-1b-resp (aka. RPS)/client
time: [392.99 ms 395.92 ms 398.89 ms]
thrpt: [25.069 Kelem/s 25.258 Kelem/s 25.446 Kelem/s]
change:
time: [-0.2381% +0.8412% +1.8980%] (p = 0.13 > 0.05)
thrpt: [-1.8626% -0.8342% +0.2387%]
No change in performance detected.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mild

1-conn/1-1b-resp (aka. HPS)/client: No change in performance detected.
       time:   [42.410 ms 42.556 ms 42.722 ms]
       thrpt:  [23.407  elem/s 23.499  elem/s 23.579  elem/s]
change:
       time:   [-0.3190% +0.2168% +0.7467%] (p = 0.43 > 0.05)
       thrpt:  [-0.7412% -0.2163% +0.3201%]
Found 5 outliers among 100 measurements (5.00%)
  2 (2.00%) high mild
  3 (3.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 165.5 ± 63.9 102.5 362.5 1.00
neqo msquic reno on 267.1 ± 11.5 253.8 295.0 1.00
neqo msquic reno 280.8 ± 23.6 253.6 332.4 1.00
neqo msquic cubic on 265.3 ± 9.4 253.0 278.1 1.00
neqo msquic cubic 269.6 ± 16.3 253.9 308.0 1.00
msquic neqo reno on 941.7 ± 17.0 926.3 988.5 1.00
msquic neqo reno 931.4 ± 25.1 910.0 994.4 1.00
msquic neqo cubic on 890.7 ± 9.6 878.5 907.3 1.00
msquic neqo cubic 883.8 ± 15.8 860.2 908.7 1.00
neqo neqo reno on 962.2 ± 9.8 951.3 976.5 1.00
neqo neqo reno 908.9 ± 20.0 873.4 944.4 1.00
neqo neqo cubic on 895.4 ± 14.1 878.5 915.5 1.00
neqo neqo cubic 865.8 ± 12.6 850.0 886.1 1.00

⬇️ Download logs

@larseggert larseggert merged commit 3566375 into mozilla:main Jul 3, 2024
56 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.

2 participants