mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-08 13:02:37 +02:00
bench: use unsafesqlitesync in wallet loading benchmark
This commit is contained in:
@@ -49,6 +49,7 @@ static void BenchUnloadWallet(std::shared_ptr<CWallet>&& wallet)
|
|||||||
static void WalletLoading(benchmark::Bench& bench, bool legacy_wallet)
|
static void WalletLoading(benchmark::Bench& bench, bool legacy_wallet)
|
||||||
{
|
{
|
||||||
const auto test_setup = MakeNoLogFileContext<TestingSetup>();
|
const auto test_setup = MakeNoLogFileContext<TestingSetup>();
|
||||||
|
test_setup->m_args.ForceSetArg("-unsafesqlitesync", "1");
|
||||||
|
|
||||||
WalletContext context;
|
WalletContext context;
|
||||||
context.args = &test_setup->m_args;
|
context.args = &test_setup->m_args;
|
||||||
|
Reference in New Issue
Block a user