mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
9 lines
160 B
JavaScript
9 lines
160 B
JavaScript
import { bench, run } from "mitata";
|
|
import { SHA512 } from "bun";
|
|
|
|
bench('SHA512.hash("hello world")', () => {
|
|
SHA512.hash("hello world");
|
|
});
|
|
|
|
await run();
|