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

Improve performance of Swarm<T> #837

Merged
merged 3 commits into from
Mar 30, 2020

Conversation

longfin
Copy link
Member

@longfin longfin commented Mar 30, 2020

This PR improves the performance of Swarm<T> by preventing unnecessary task creation.

@longfin longfin self-assigned this Mar 30, 2020
@longfin longfin marked this pull request as ready for review March 30, 2020 06:35
@longfin longfin linked an issue Mar 30, 2020 that may be closed by this pull request
moreal
moreal previously approved these changes Mar 30, 2020
dahlia
dahlia previously approved these changes Mar 30, 2020
earlbread
earlbread previously approved these changes Mar 30, 2020
@longfin
Copy link
Member Author

longfin commented Mar 30, 2020

@dahlia @earlbread @moreal I've missed some points, so I also amended commits.

dahlia
dahlia previously approved these changes Mar 30, 2020
@codecov
Copy link

codecov bot commented Mar 30, 2020

Codecov Report

Merging #837 into master will increase coverage by 0.05%.
The diff coverage is 89.18%.

@@            Coverage Diff             @@
##           master     #837      +/-   ##
==========================================
+ Coverage   87.44%   87.50%   +0.05%     
==========================================
  Files         249      249              
  Lines       22507    22520      +13     
==========================================
+ Hits        19682    19705      +23     
+ Misses       1480     1471       -9     
+ Partials     1345     1344       -1     
Impacted Files Coverage Δ
Libplanet/Net/Swarm.cs 85.25% <75.00%> (+0.39%) ⬆️
Libplanet/Net/NetMQSocketExtensions.cs 90.90% <96.00%> (+9.27%) ⬆️
Libplanet/Net/NetMQTransport.cs 84.06% <0.00%> (-0.14%) ⬇️
Libplanet.Tests/Net/SwarmTest.cs 96.64% <0.00%> (+0.09%) ⬆️

@longfin longfin requested a review from dahlia March 30, 2020 07:38
@longfin longfin merged commit 1e401ca into planetarium:master Mar 30, 2020
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.

Unwrap unnecessary async methods
4 participants