]> zoso.dev Git - libnemo.git/commitdiff
Log work for testing.
authorChris Duncan <chris@zoso.dev>
Wed, 11 Dec 2024 04:01:45 +0000 (20:01 -0800)
committerChris Duncan <chris@zoso.dev>
Wed, 11 Dec 2024 04:01:45 +0000 (20:01 -0800)
perf/block.perf.js

index d5626ee5add151b514ef48b101e9960461477d9d..74ebaf92cbeaad1df903cb2cf546e691e8fc5cc6 100644 (file)
@@ -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`)