Skip to content

use sync.Pool to avoid often memory allocations#5569

Merged
andrey-mysterium merged 4 commits intomasterfrom
use-sync-pool-for-copy-buffer
Oct 27, 2022
Merged

use sync.Pool to avoid often memory allocations#5569
andrey-mysterium merged 4 commits intomasterfrom
use-sync-pool-for-copy-buffer

Conversation

@andrey-mysterium
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

Codecov Report

Merging #5569 (c5b86be) into master (2d72cb1) will increase coverage by 0.00%.
The diff coverage is 21.42%.

@@           Coverage Diff           @@
##           master    #5569   +/-   ##
=======================================
  Coverage   37.81%   37.81%           
=======================================
  Files         360      361    +1     
  Lines       20158    20170   +12     
=======================================
+ Hits         7622     7627    +5     
- Misses      11778    11785    +7     
  Partials      758      758           
Impacted Files Coverage Δ
services/wireguard/endpoint/proxyclient/utils.go 0.00% <0.00%> (ø)
services/wireguard/endpoint/proxyclient/buffers.go 30.00% <30.00%> (ø)
p2p/channel.go 66.78% <0.00%> (ø)
nat/traversal/pinger.go 76.35% <0.00%> (ø)
tequilapi/endpoints/sse_handler.go 68.66% <0.00%> (ø)
requests/dialer_swarm.go 75.93% <0.00%> (+1.50%) ⬆️

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

@andrey-mysterium andrey-mysterium merged commit cac32c4 into master Oct 27, 2022
@andrey-mysterium andrey-mysterium deleted the use-sync-pool-for-copy-buffer branch October 27, 2022 08:08
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.

3 participants