mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-05 15:52:55 +00:00
add state prefetch timer
This commit is contained in:
parent
2721e8a1a2
commit
abd8612b1d
1 changed files with 2 additions and 0 deletions
|
|
@ -2088,6 +2088,8 @@ func (bc *BlockChain) processBlockWithAccessList(parentRoot common.Hash, block *
|
||||||
blockPreprocessingTimer.Update(res.PreProcessTime)
|
blockPreprocessingTimer.Update(res.PreProcessTime)
|
||||||
txExecutionTimer.Update(res.ExecTime)
|
txExecutionTimer.Update(res.ExecTime)
|
||||||
|
|
||||||
|
// update the metrics from the block state root update
|
||||||
|
stateTriePrefetchTimer.Update(res.StateTransitionMetrics.StatePrefetch)
|
||||||
accountTriesUpdateTimer.Update(res.StateTransitionMetrics.AccountUpdate)
|
accountTriesUpdateTimer.Update(res.StateTransitionMetrics.AccountUpdate)
|
||||||
stateTrieUpdateTimer.Update(res.StateTransitionMetrics.StateUpdate)
|
stateTrieUpdateTimer.Update(res.StateTransitionMetrics.StateUpdate)
|
||||||
stateTrieHashTimer.Update(res.StateTransitionMetrics.StateHash)
|
stateTrieHashTimer.Update(res.StateTransitionMetrics.StateHash)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue