Open mattcollier opened 3 years ago
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.
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.
Rust wins for big and small numbers of operations.