From 0a1867435248ca6cf236071ef95190b0c6a95290 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 24 Dec 2024 02:12:37 -0800 Subject: [PATCH] Log work value in block perf test. --- perf/block.perf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/block.perf.js b/perf/block.perf.js index 33ee012..7793b26 100644 --- a/perf/block.perf.js +++ b/perf/block.perf.js @@ -26,7 +26,7 @@ await suite('Block performance', async () => { await block.pow() const end = performance.now() times.push(end - start) - console.log(`${end - start} ms`) + console.log(`${block.work} (${end - start} ms)`) } const { total, arithmetic, harmonic, geometric } = average(times) console.log(`Total: ${total} ms`) -- 2.34.1