-
Notifications
You must be signed in to change notification settings - Fork 675
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
Add unsafe blake3 benchmark for merkledb #3350
base: add-blake3-benchmark
Are you sure you want to change the base?
Conversation
Running on a new
Which is much more similar between the two implementations (SHA256 still being slightly faster) The performance is similar when running on |
Running on a new
|
Running on a new
Interestingly - for the smallest nodes, |
Running on a new
|
Running on a new
This is the first instance that shows a significant performance improvement when using BLAKE3. Overall still slower than the |
Running on a new
Again BLAKE3 seems to outperform on these older chips. |
This PR has become stale because it has been open for 30 days with no activity. Adding the |
Why this should be merged
Built on top of the safe blake3 benchmark: #3349.
This PR isn't safe, as the hasher interface expects to be able to be used concurrently. However, it shows the potential performance of BLAKE3 against SHA256.
^ on my macbook pro (apple M2 Max chip)
How this works
Resetting the BLAKE3 internal state is significantly faster than initializing an entirely new hasher.
How this was tested