Rocky_Mountain_Vending/.pnpm-store/v10/files/24/c4802a3cd8e51959a547438f9a5e701e21abc8b3b2fc03dd4c2bc7e5ac6e928d67452011333e30b38eb5948b413a6b50f7c0957b2b31c47fdf15c2e2e61aeb
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

22 lines
621 B
Text

const { hash: hashWasm } = require('./dist/node');
const { hash: hashNative } = require('./dist/node-native');
const { createHash } = require('crypto');
[
{ size: '64B', data: Buffer.alloc(64) },
{ size: '64KB', data: Buffer.alloc(1024 * 64) },
{ size: '6MB', data: Buffer.alloc(1024 * 1024 * 6) },
].forEach(({ size, data }) =>
suite(size, () => {
['md5', 'sha1', 'sha256'].forEach(alg =>
bench(alg, () =>
createHash(alg)
.update(data)
.digest(),
),
);
bench('blake3 wasm', () => hashWasm(data));
bench('blake3 native', () => hashNative(data));
}),
);