diff options
author | Douglas Chimento <dchimento@gmail.com> | 2021-09-23 11:37:24 +0300 |
---|---|---|
committer | Douglas Chimento <dchimento@gmail.com> | 2021-09-23 14:36:16 +0300 |
commit | ab278007991b912299eaf794d87a636423521d27 (patch) | |
tree | 42bb735deee559d63610494460b1ed973c74f3b4 /src | |
parent | 971cad475f38011cf33a66671f1d5e570fd8df33 (diff) |
log: Remove unnecessary timing logs for Callbacks bench
Logging of Callbacks are no longer needed and records events that are not relevant for performance analysis.
Diffstat (limited to 'src')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 2a66d96f22..2221c99e97 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1568,7 +1568,6 @@ static int64_t nTimeForks = 0; static int64_t nTimeVerify = 0; static int64_t nTimeConnect = 0; static int64_t nTimeIndex = 0; -static int64_t nTimeCallbacks = 0; static int64_t nTimeTotal = 0; static int64_t nBlocksTotal = 0; @@ -1873,9 +1872,6 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state, int64_t nTime5 = GetTimeMicros(); nTimeIndex += nTime5 - nTime4; LogPrint(BCLog::BENCH, " - Index writing: %.2fms [%.2fs (%.2fms/blk)]\n", MILLI * (nTime5 - nTime4), nTimeIndex * MICRO, nTimeIndex * MILLI / nBlocksTotal); - int64_t nTime6 = GetTimeMicros(); nTimeCallbacks += nTime6 - nTime5; - LogPrint(BCLog::BENCH, " - Callbacks: %.2fms [%.2fs (%.2fms/blk)]\n", MILLI * (nTime6 - nTime5), nTimeCallbacks * MICRO, nTimeCallbacks * MILLI / nBlocksTotal); - TRACE7(validation, block_connected, block.GetHash().ToString().c_str(), pindex->nHeight, |