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 ListAllStateReferences performance #701

Merged
merged 3 commits into from
Dec 3, 2019

Conversation

earlbread
Copy link
Contributor

This moves StoreExtension.ListAllStateReferences to IStore.ListAllStateReferences and improve the preformance of the method.

@earlbread earlbread self-assigned this Dec 2, 2019
@codecov
Copy link

codecov bot commented Dec 2, 2019

Codecov Report

Merging #701 into master will decrease coverage by 0.08%.
The diff coverage is 94.59%.

@@            Coverage Diff             @@
##           master     #701      +/-   ##
==========================================
- Coverage   86.23%   86.14%   -0.09%     
==========================================
  Files         221      221              
  Lines       18134    18131       -3     
==========================================
- Hits        15637    15619      -18     
- Misses       1423     1438      +15     
  Partials     1074     1074
Impacted Files Coverage Δ
Libplanet/Store/BaseStore.cs 81.25% <ø> (ø) ⬆️
Libplanet.Tests/Store/StoreExtensionTest.cs 100% <ø> (ø) ⬆️
Libplanet/Store/StoreExtension.cs 71.42% <ø> (-23.31%) ⬇️
Libplanet.Tests/Store/StoreTracker.cs 55.26% <0%> (-1.5%) ⬇️
Libplanet.Tests/Store/StoreTest.cs 98.21% <100%> (+0.12%) ⬆️
Libplanet/Store/DefaultStore.cs 85.19% <100%> (-0.47%) ⬇️
Libplanet/Net/Protocols/KBucket.cs 90.99% <0%> (-2.71%) ⬇️
Libplanet.Tests/Net/SwarmTest.cs 95.69% <0%> (-0.12%) ⬇️

moreal
moreal previously approved these changes Dec 2, 2019
@earlbread earlbread force-pushed the list-all-state-ref branch 2 times, most recently from c6d6726 to ab78000 Compare December 2, 2019 13:49
longfin
longfin previously approved these changes Dec 3, 2019
@longfin longfin requested review from dahlia, limebell and moreal December 3, 2019 04:46
moreal
moreal previously approved these changes Dec 3, 2019
@earlbread earlbread dismissed stale reviews from moreal and longfin via c219844 December 3, 2019 05:26
@earlbread earlbread merged commit e7cc62c into planetarium:master Dec 3, 2019
@earlbread earlbread deleted the list-all-state-ref branch December 3, 2019 08: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.

5 participants