From 429bd7ff553a75cd2147ebf091f5e31b7f6e2144 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 4 Jan 2025 01:17:00 -0800 Subject: [PATCH] Reduce block performance test for getting powgpu right. --- 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 0fa1337..0376b00 100644 --- a/perf/block.perf.js +++ b/perf/block.perf.js @@ -9,7 +9,7 @@ import { SendBlock } from '#dist/main.js' import 'nano-webgl-pow' await suite('Block performance', async () => { - const COUNT = 0x10 + const COUNT = 0x1 await test(`Customized PoW: Time to calculate proof-of-work for a send block ${COUNT} times`, async () => { const times = [] @@ -35,7 +35,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