diff options
Diffstat (limited to 'bench/snippets/sha512.js')
-rw-r--r-- | bench/snippets/sha512.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bench/snippets/sha512.js b/bench/snippets/sha512.js new file mode 100644 index 000000000..ae8b4ccc9 --- /dev/null +++ b/bench/snippets/sha512.js @@ -0,0 +1,8 @@ +import { bench, run } from "mitata"; +import { SHA512 } from "bun"; + +bench('SHA512.hash("hello world")', () => { + SHA512.hash("hello world"); +}); + +await run(); |