From: Chris Duncan Date: Wed, 11 Dec 2024 04:01:45 +0000 (-0800) Subject: Log work for testing. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=5c2431f8f55f197fb9f2afd7f8f5910db9f95da6;p=libnemo.git Log work for testing. --- 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`)