From 5c2431f8f55f197fb9f2afd7f8f5910db9f95da6 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 10 Dec 2024 20:01:45 -0800 Subject: [PATCH] Log work for testing. --- perf/block.perf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/perf/block.perf.js b/perf/block.perf.js index d5626ee..74ebaf9 100644 --- a/perf/block.perf.js +++ b/perf/block.perf.js @@ -27,6 +27,7 @@ await suite('Block performance', async () => { times.push(end - start) console.log(`${end - start} ms`) } + console.log(block.work) const { total, arithmetic, harmonic, geometric } = average(times) console.log(`Total: ${total} ms`) console.log(`Average: ${arithmetic} ms`) -- 2.34.1