Tx pool reorg optimization#562
Closed
JekaMas wants to merge 31 commits into
Closed
Conversation
Codecov ReportBase: 56.83% // Head: 56.91% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #562 +/- ##
===========================================
+ Coverage 56.83% 56.91% +0.07%
===========================================
Files 606 607 +1
Lines 70128 70659 +531
===========================================
+ Hits 39859 40215 +356
- Misses 26855 26998 +143
- Partials 3414 3446 +32
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. |
0xsharma
approved these changes
Oct 21, 2022
b00ris
reviewed
Oct 21, 2022
b00ris
approved these changes
Oct 21, 2022
b00ris
left a comment
Contributor
There was a problem hiding this comment.
Generally ok. I added some comments about additional calls that you can remove
b00ris
reviewed
Oct 22, 2022
b00ris
approved these changes
Oct 22, 2022
Contributor
Author
|
Latest update: |
Contributor
Author
|
Contributor
Author
|
and the same comparing to develop branch: |
Contributor
Author
|
|
In which release will this PR be included? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It mostly keeps the same logic and just rearranges variables.
Was BenchmarkPoolMultiAccountBatchInsert-10 10000 168668 ns/op 19387 B/op 81 allocs/op
Now BenchmarkPoolMultiAccountBatchInsert-10 10000 100608 ns/op 2895 B/op 52 allocs/op
a bit better 'now':
BenchmarkPoolMultiAccountBatchInsert-10 12112 104955 ns/op 2678 B/op 47 allocs/op
old.txt