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

fix: use SHA3 instead of crypto/rand to generate VMess padding, reduce syscalls #2862

Closed
wants to merge 1 commit into from

Conversation

nlzy
Copy link
Contributor

@nlzy nlzy commented Jan 18, 2024

On my ARM Cortex-A53 1.3 GHz * 2 system, with VMess inbound & freedom outbound , this PR make download throughput increase from ~270 Mbps to ~310 Mbps (14% improved)

fix commit a4a3f4d

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (458db39) 36.12% compared to head (ae7d186) 36.12%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2862      +/-   ##
==========================================
- Coverage   36.12%   36.12%   -0.01%     
==========================================
  Files         715      715              
  Lines       40949    40951       +2     
==========================================
- Hits        14794    14793       -1     
- Misses      24521    24522       +1     
- Partials     1634     1636       +2     

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

@nlzy nlzy closed this Jan 18, 2024
@nlzy
Copy link
Contributor Author

nlzy commented Jan 18, 2024

Some things wrong, seems performance decreased on amd64

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