From 648ad07a1243a10a59fde4db36ef08c0ebff5659 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 5 Jan 2025 01:39:05 -0800 Subject: [PATCH] Skip original pow tests for now. Reduce test suite size. --- perf/block.perf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.34.1