From d94244c4bf37365272a16eb2ce6517605b4c8a47 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Wed, 20 Apr 2022 13:52:45 -0400 Subject: [PATCH] bench: reduce number of epochs for wallet loading benchmark --- src/bench/wallet_loading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bench/wallet_loading.cpp b/src/bench/wallet_loading.cpp index 80c285667e8..5096895ed8d 100644 --- a/src/bench/wallet_loading.cpp +++ b/src/bench/wallet_loading.cpp @@ -69,7 +69,7 @@ static void WalletLoading(benchmark::Bench& bench, bool legacy_wallet) // reload the wallet for the actual benchmark BenchUnloadWallet(std::move(wallet)); - bench.run([&] { + bench.epochs(5).run([&] { wallet = BenchLoadWallet(context, options); // Cleanup