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 = []
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()