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

pass payload around by value in the packet packer #3648

Merged
merged 1 commit into from Jan 18, 2023

Conversation

marten-seemann
Copy link
Member

Depends on #3647. Part of #3526.

This avoids heap allocations, making the respective code path disappear completely in the alloc pprof.

@codecov
Copy link

codecov bot commented Dec 28, 2022

Codecov Report

Base: 85.13% // Head: 85.12% // Decreases project coverage by -0.00% ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3648      +/-   ##
==========================================
- Coverage   85.13%   85.12%   -0.00%     
==========================================
  Files         140      140              
  Lines       10360    10357       -3     
==========================================
- Hits         8819     8816       -3     
  Misses       1138     1138              
  Partials      403      403              
Impacted Files Coverage Δ
packet_packer.go 86.50% <94.90%> (-0.07%) ⬇️

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.

@marten-seemann marten-seemann changed the base branch from optimize-short-header-packing to master January 18, 2023 06:26
@marten-seemann marten-seemann merged commit b77d857 into master Jan 18, 2023
@marten-seemann marten-seemann deleted the optimize-payload-packing branch January 18, 2023 07:25
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

2 participants