]> zoso.dev Git - libnemo.git/commitdiff
Restore additional block performance tests now that PowGpu is working.
authorChris Duncan <chris@zoso.dev>
Sat, 4 Jan 2025 12:05:02 +0000 (04:05 -0800)
committerChris Duncan <chris@zoso.dev>
Sat, 4 Jan 2025 12:05:02 +0000 (04:05 -0800)
perf/block.perf.js

index 4719d480cb801e2c4374b5801d1539a90fb78de9..8818c5e04cf9d39f568f5fbeab49557531a75c53 100644 (file)
@@ -35,7 +35,7 @@ await suite('Block performance', async () => {
                console.log(`Geometric: ${geometric} ms`)
        })
 
-       await skip(`Customized PoW: Time to calculate proof-of-work for a send block ${COUNT} times`, async () => {
+       await test(`Customized PoW: Time to calculate proof-of-work for a send block ${COUNT} times`, async () => {
                const times = []
                const block = new SendBlock(
                        NANO_TEST_VECTORS.SEND_BLOCK.account,
@@ -60,7 +60,7 @@ await suite('Block performance', async () => {
                console.log(`Geometric: ${geometric} ms`)
        })
 
-       await skip(`Original PoW module: Time to calculate proof-of-work for a send block ${COUNT} times`, async () => {
+       await test(`Original PoW module: Time to calculate proof-of-work for a send block ${COUNT} times`, async () => {
                const times = []
                for (let i = 0; i < COUNT; i++) {
                        const start = performance.now()