diff --git a/core/blockchain.go b/core/blockchain.go index 240d09fb3a..b0fcc71ee0 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1918,9 +1918,10 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error) storageHashTimer.Update(statedb.StorageHashes) // Storage hashes are complete(in validation) //triehash := statedb.AccountHashes + statedb.StorageHashes // The time spent on tries hashing //trieUpdate := statedb.AccountUpdates + statedb.StorageUpdates // The time spent on tries update - trieRead := statedb.SnapshotAccountReads + statedb.AccountReads // The time spent on account read - trieRead += statedb.SnapshotStorageReads + statedb.StorageReads // The time spent on storage read - blockExecutionTimer.Update(ptime - trieRead) // The time spent on EVM processing + //trieRead := statedb.SnapshotAccountReads + statedb.AccountReads // The time spent on account read + //trieRead += statedb.SnapshotStorageReads + statedb.StorageReads // The time spent on storage read + //blockExecutionTimer.Update(ptime - trieRead) // The time spent on EVM processing + blockExecutionTimer.Update(ptime) //blockValidationTimer.Update(vtime - (triehash + trieUpdate)) // The time spent on block validation blockValidationTimer.Update(vtime)