/noble-native-test

Dummy benchmark for SHA256 and SHA512 hashing in browser

Primary LanguageTypeScript

Dummy benchmark for SHA256 and SHA512 hashing in browser

Contenders:

Results

Tested on Mac OS Monterey, Apple M1 Max chip.

Chrome 105.0.5195.125:

Chrome

Firefox 105.0.1:

Firefox

Safari 16.0 (17614.1.25.9.10, 17614):

Safari

UPD: What if use await for calling noble and stable libs:

Chrome

Measuring on your own

pnpm install && pnpm run start:browser

Then open http://localhost:3000 in browser and see benchmark results in the browser console.

To run same (crypto.subtle repalced with native Node.js crypto module) benchmark on Node.js:

pnpm install && pnpm run start:node

Credits

Made with createapp.dev