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

Rust hashing speed #11

Open
mattcollier opened this issue Dec 29, 2020 · 0 comments
Open

Rust hashing speed #11

mattcollier opened this issue Dec 29, 2020 · 0 comments

Comments

@mattcollier
Copy link
Collaborator

I was curious to know if we were dealing with a pure crypto race so I put this together:

https://github.com/mattcollier/rust-hash-bench

Which goes with this: https://github.com/digitalbazaar/loop-bench/blob/rdf-canonize-local-native/index25.js

which shows this for the default 1M operations.

NODEJS MS 3013.116585
RUST MS 1916.46965

Rust wins for big and small numbers of operations.

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

No branches or pull requests

1 participant