diff options
author | Andrew Chow <achow101-github@achow101.com> | 2022-04-20 13:52:45 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2022-04-20 13:53:57 -0400 |
commit | d94244c4bf37365272a16eb2ce6517605b4c8a47 (patch) | |
tree | 9f51950c7389a7498a3e3c8246f15dd733ce688f /src/bench/wallet_loading.cpp | |
parent | 817c051364208d3f9e7e2af5700bd2bee5c9f303 (diff) | |
download | bitcoin-d94244c4bf37365272a16eb2ce6517605b4c8a47.tar.xz |
bench: reduce number of epochs for wallet loading benchmark
Diffstat (limited to 'src/bench/wallet_loading.cpp')
-rw-r--r-- | src/bench/wallet_loading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/wallet_loading.cpp b/src/bench/wallet_loading.cpp index 80c285667e..5096895ed8 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 |