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>
6 lines
180 B
JavaScript
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`);
|