aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/sha512.js
blob: ae8b4ccc9cff30469b0f9bf2d894ba9aff284bc1 (plain) (blame)
1
2
3
4
5
6
7
8
import { bench, run } from "mitata";
import { SHA512 } from "bun";

bench('SHA512.hash("hello world")', () => {
  SHA512.hash("hello world");
});

await run();