mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
bench: use unsafesqlitesync in wallet loading benchmark
This commit is contained in:
parent
9e404a9831
commit
817c051364
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue