mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 18:23:03 +01:00
bench: Remove minEpochIterations from wallet loading benchmark
This is probably unnecessary and just makes it slower.
This commit is contained in:
@@ -68,7 +68,7 @@ static void WalletLoading(benchmark::Bench& bench, bool legacy_wallet)
|
|||||||
// reload the wallet for the actual benchmark
|
// reload the wallet for the actual benchmark
|
||||||
BenchUnloadWallet(std::move(wallet));
|
BenchUnloadWallet(std::move(wallet));
|
||||||
|
|
||||||
bench.minEpochIterations(10).run([&] {
|
bench.run([&] {
|
||||||
wallet = BenchLoadWallet(context, options);
|
wallet = BenchLoadWallet(context, options);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user