repositories
/
benchmarks-js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build(deps-dev): apply updates
[benchmarks-js.git]
/
uuid-generator.mjs
diff --git
a/uuid-generator.mjs
b/uuid-generator.mjs
index 6ed8015648ed52a37e45bb56bcb5250c36a1acb9..0b4c9fbc59fb29df8ebd7cb7412ea980b41a537e 100644
(file)
--- a/
uuid-generator.mjs
+++ b/
uuid-generator.mjs
@@
-1,4
+1,5
@@
import { randomUUID } from 'node:crypto'
+
import Benchmark from 'benny'
import { v4 as uuid } from 'uuid'
@@
-27,6
+28,4
@@
Benchmark.suite(
format: 'table.html',
details: true
})
-).catch(err => {
- console.error(err)
-})
+).catch(console.error)