diff --git a/arg-test/test-argy.js b/arg-test/test-argy.js index e41524a..d7bafc4 100644 --- a/arg-test/test-argy.js +++ b/arg-test/test-argy.js @@ -13,9 +13,15 @@ Module().then((module) => { ]; for (const bench of benches) { console.log(bench); + + // warmup + module[bench](); + const start = performance.now(); + // active module[bench](); const delta = performance.now() - start; + console.log(`${delta} ms`); } });