]> zoso.dev Git - libnemo.git/commitdiff
Fix test name.
authorChris Duncan <chris@zoso.dev>
Thu, 12 Dec 2024 20:12:31 +0000 (12:12 -0800)
committerChris Duncan <chris@zoso.dev>
Thu, 12 Dec 2024 20:12:31 +0000 (12:12 -0800)
perf/block.perf.js

index f82b700d025859ebb5c794042268b83941f83c52..210250da19444973841a2db33e38e21a1db4c4db 100644 (file)
@@ -10,7 +10,7 @@ import { SendBlock, ReceiveBlock } from '#dist/main.js'
 await suite('Block performance', async () => {
        const COUNT = 0x1
 
-       await test('Time to calculate proof-of-work for a send block 0x10 times', async () => {
+       await test(`Time to calculate proof-of-work for a send block ${COUNT} times`, async () => {
                const times = []
                const block = new SendBlock(
                        NANO_TEST_VECTORS.SEND_BLOCK.account,
@@ -35,7 +35,7 @@ await suite('Block performance', async () => {
                console.log(`Geometric: ${geometric} ms`)
        })
 
-       await test('Time to calculate proof-of-work for a receive block 0x10 times', async () => {
+       await test(`Time to calculate proof-of-work for a receive block ${COUNT} times`, async () => {
                const times = []
                const block = new ReceiveBlock(
                        NANO_TEST_VECTORS.RECEIVE_BLOCK.account,