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

use the new zero-allocation control message parsing function from x/sys #3609

Merged
merged 1 commit into from Nov 4, 2022

Conversation

marten-seemann
Copy link
Member

@codecov
Copy link

codecov bot commented Nov 2, 2022

Codecov Report

Base: 85.48% // Head: 85.49% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (ba1582e) compared to base (af30cef).
Patch coverage: 78.95% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3609   +/-   ##
=======================================
  Coverage   85.48%   85.49%           
=======================================
  Files         140      140           
  Lines       10271    10273    +2     
=======================================
+ Hits         8780     8782    +2     
  Misses       1106     1106           
  Partials      385      385           
Impacted Files Coverage Δ
sys_conn_oob.go 72.73% <78.95%> (+0.42%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kokes
Copy link
Contributor

kokes commented Nov 3, 2022

Wonderful - reran my benchmarks against your commit - I'm seeing up to 12% decrease in allocations (both volume and bytes allocated) as well as up to 10% improvement in performance, especially for larger payloads. (Context: a QUIC-based proxy.)

@marten-seemann
Copy link
Member Author

@kokes Thanks for the feedback! I'm really happy to hear that!

@marten-seemann marten-seemann merged commit df762b7 into master Nov 4, 2022
@marten-seemann marten-seemann deleted the parse-one-socket-control-message branch November 4, 2022 14:39
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