Sign in
chromium
/
external
/
github.com
/
WebKit
/
JetStream
/
254b4522a9c2ea9afb20eaef14397400c7cb0c7a
/
.
/
validatorjs
/
benchmark-node.mjs
blob: e926fc23dbf110f85871f92e88439ef528846a2b [
file
] [
log
] [
blame
]
import
{
runTest
}
from
"./src/test.mjs"
;
const
then
=
performance
.
now
();
runTest
();
const
duration
=
performance
.
now
()
-
then
;
console
.
log
(
`Duration: ${duration.toFixed(2)}ms`
);