mirror-jetstream/validatorjs/benchmark-node.mjs
Camillo Bruni 254b4522a9 Merge latest main-branch changes
Change-Id: Ie6e7295fc5ace81c08ebd4eb052a31a8b3b24ec8
Reviewed-on: https://chromium-review.googlesource.com/c/external/github.com/WebKit/JetStream/+/7006093
Reviewed-by: Olivier Flückiger <olivf@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
2025-10-08 04:06:38 -07:00

6 lines
180 B
JavaScript

import { runTest } from "./src/test.mjs";
const then = performance.now();
runTest();
const duration = performance.now() - then;
console.log(`Duration: ${duration.toFixed(2)}ms`);