ukstv / noble-native-test

Dummy benchmark for SHA256 and SHA512 hashing in browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Dummy benchmark for SHA256 and SHA512 hashing in browser


Languages

Language:TypeScript 90.6%Language:JavaScript 9.4%