From: Chris Duncan Date: Sat, 4 Jan 2025 09:17:00 +0000 (-0800) Subject: Reduce block performance test for getting powgpu right. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=429bd7ff553a75cd2147ebf091f5e31b7f6e2144;p=libnemo.git Reduce block performance test for getting powgpu right. --- 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()