This project benchmarks the native Uint8Array.toBase64() and Uint8Array.fromBase64() methods in JavaScript.
- Bun or Node.js version 25+ (for native support of the Base64 methods)
npm installWith Node.js:
npm startWith Bun:
bun run benchmark.jsThe benchmark will test encoding and decoding performance for various payload sizes and output results to the console.