From 52e6fb4a655e21325b44541d5cb59b2b9fd32d72 Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Thu, 9 Oct 2025 09:29:18 +0800 Subject: [PATCH] core: polish --- core/blockchain_stats.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/core/blockchain_stats.go b/core/blockchain_stats.go index b11793f02d..d41c6317c8 100644 --- a/core/blockchain_stats.go +++ b/core/blockchain_stats.go @@ -111,20 +111,21 @@ Block: %v (%#x) txs: %d, mgasps: %.2f EVM execution: %v Validation: %v +Account read: %v(%d) +Storage read: %v(%d) +State hash: %v DB commit: %v Block write: %v -Account read: %v -Storage read: %v -State hash: %v Total: %v State read cache: %s - ############################## `, block.Number(), block.Hash(), len(block.Transactions()), s.MgasPerSecond, - common.PrettyDuration(s.Execution), common.PrettyDuration(s.Validation+s.CrossValidation), common.PrettyDuration(s.TrieDBCommit+s.SnapshotCommit), - common.PrettyDuration(s.BlockWrite), common.PrettyDuration(s.AccountReads), common.PrettyDuration(s.StorageReads), - common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates+s.StorageCommits+s.StorageUpdates), common.PrettyDuration(s.TotalTime), - s.StateReadCacheStats) + common.PrettyDuration(s.Execution), common.PrettyDuration(s.Validation+s.CrossValidation), + common.PrettyDuration(s.AccountReads), s.AccountLoaded, + common.PrettyDuration(s.StorageReads), s.StorageLoaded, + common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates+s.StorageCommits+s.StorageUpdates), + common.PrettyDuration(s.TrieDBCommit+s.SnapshotCommit), common.PrettyDuration(s.BlockWrite), + common.PrettyDuration(s.TotalTime), s.StateReadCacheStats) log.Info(msg) }