From: Chris Duncan Date: Sun, 5 Jan 2025 09:39:05 +0000 (-0800) Subject: Skip original pow tests for now. Reduce test suite size. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=648ad07a1243a10a59fde4db36ef08c0ebff5659;p=libnemo.git Skip original pow tests for now. Reduce test suite size. --- diff --git a/perf/block.perf.js b/perf/block.perf.js index f5476f0..555eac6 100644 --- a/perf/block.perf.js +++ b/perf/block.perf.js @@ -9,7 +9,7 @@ import { PowGpu, SendBlock } from '#dist/main.js' import 'nano-webgl-pow' await suite('Block performance', async () => { - const COUNT = 0x200 + const COUNT = 0x20 await skip(`Customized PoW: Time to calculate proof-of-work for a block hash ${COUNT} times`, async () => { const times = [] @@ -59,7 +59,7 @@ await suite('Block performance', async () => { console.log(`Geometric: ${geometric} ms`) }) - await test(`Original PoW module: Time to calculate proof-of-work for a send block ${COUNT} times`, async () => { + await skip(`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()