-
Notifications
You must be signed in to change notification settings - Fork 5
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
Some benchmarks #4
Comments
mithrilshard parallelized is 5x faster than nbitcoin current implementation and almost half allocation
|
|
another about block locator the one named Log is my implementation, Loop is NBitcoin MithrilShards/MithrilShards.P2P.Benchmark/Benchmarks/Spot/BlockLocatorBuilding.cs Lines 19 to 38 in 4759f4e
and the adapt the loops to do the job the Loop method instead is the one used by NBitcoin (that just ported the one stated in the protocol documentation https://en.bitcoin.it/wiki/Protocol_documentation#getblocks) |
I'm very happy about my optimization on allocation (that's more important than CPU in our scenario) Actually the code is on a branch, this is the code that I ported from bitcoin core from shift operators and improved too MithrilShards/src/MithrilShards.Chain.Bitcoin/DataTypes/Target.Operators.cs Lines 35 to 85 in ff81533
|
This was posted on discord discussions
The text was updated successfully, but these errors were encountered: