From ee08f7f9ea5401f77b630f735ef41b21d8b66635 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 6 Dec 2024 19:43:59 -0800 Subject: [PATCH] Match account performance test from upcoming threads update for proper comparison. --- test/perf.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/perf.mjs b/test/perf.mjs index 760be10..6978879 100644 --- a/test/perf.mjs +++ b/test/perf.mjs @@ -3,11 +3,11 @@ import * as N from '../dist/index.js' console.log(`wallet...`) const wallet = N.wallet.generate() let now = performance.now() -N.wallet.accounts(wallet.seed, 0, 0x2000) +N.wallet.accounts(wallet.seed, 0, 0x7fff) console.log(`${performance.now() - now} ms`) console.log(`wallet legacy...`) const walletLegacy = N.wallet.generateLegacy() now = performance.now() -N.wallet.legacyAccounts(walletLegacy.seed, 0, 0x2000) +N.wallet.legacyAccounts(walletLegacy.seed, 0, 0x7fff) console.log(`${performance.now() - now} ms`) -- 2.34.1