diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-24 16:48:21 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-24 16:46:54 -0400 |
commit | fabe44e8154a6068d6cba91ec30f00345ed7b275 (patch) | |
tree | 3a492d6528437403fd51a916c868fbafb450ad57 /src/bench/mempool_eviction.cpp | |
parent | 8c0f86f284408f316e27702510733289a6a139e7 (diff) |
bench: Start nodes with -nodebuglogfile
Diffstat (limited to 'src/bench/mempool_eviction.cpp')
-rw-r--r-- | src/bench/mempool_eviction.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index 7df024def6..69483f2914 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -16,8 +16,8 @@ static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& po unsigned int sigOpCost = 4; LockPoints lp; pool.addUnchecked(CTxMemPoolEntry( - tx, nFee, nTime, nHeight, - spendsCoinbase, sigOpCost, lp)); + tx, nFee, nTime, nHeight, + spendsCoinbase, sigOpCost, lp)); } // Right now this is only testing eviction performance in an extremely small @@ -25,7 +25,13 @@ static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& po // unique transactions for a more meaningful performance measurement. static void MempoolEviction(benchmark::State& state) { - RegTestingSetup test_setup; + TestingSetup test_setup{ + CBaseChainParams::REGTEST, + /* extra_args */ { + "-nodebuglogfile", + "-nodebug", + }, + }; CMutableTransaction tx1 = CMutableTransaction(); tx1.vin.resize(1); |