Open paulmillr opened 2 months ago
I've spotted this after benchmarks were transitioned from common.js to ESM in 88c1aa30674348f497f936e497d734a15f53be26. Check out main branch.
main
git clone git@github.com:paulmillr/noble-hashes.git && cd noble-hashes && npm install && npm run build && npm run bench:install
We need to investigate:
isBytes
To investigate this, v8/node.js profiling, memory dumps, etc may help.
I've spotted this after benchmarks were transitioned from common.js to ESM in 88c1aa30674348f497f936e497d734a15f53be26. Check out
main
branch.git clone git@github.com:paulmillr/noble-hashes.git && cd noble-hashes && npm install && npm run build && npm run bench:install
We need to investigate:
isBytes
slows-down performance considerably. See branch https://github.com/paulmillr/noble-hashes/tree/import-perf. Probably related.To investigate this, v8/node.js profiling, memory dumps, etc may help.