@@ -30,13 +30,14 @@ import (
3030// ExecuteStats includes all the statistics of a block execution in details.
3131type ExecuteStats struct {
3232 // State read times
33- AccountReads time.Duration // Time spent on the account reads
34- StorageReads time.Duration // Time spent on the storage reads
35- AccountHashes time.Duration // Time spent on the account trie hash
36- AccountUpdates time.Duration // Time spent on the account trie update
37- AccountCommits time.Duration // Time spent on the account trie commit
38- StorageUpdates time.Duration // Time spent on the storage trie update
39- StorageCommits time.Duration // Time spent on the storage trie commit
33+ AccountReads time.Duration // Time spent on the account reads
34+ StorageReads time.Duration // Time spent on the storage reads
35+ AccountHashes time.Duration // Time spent on the account trie hash
36+ AccountUpdates time.Duration // Time spent on the account trie update
37+ AccountUpdateWait time.Duration // Time spent on waiting the account trie from prefetching
38+ AccountCommits time.Duration // Time spent on the account trie commit
39+ StorageUpdates time.Duration // Time spent on the storage trie update
40+ StorageCommits time.Duration // Time spent on the storage trie commit
4041
4142 AccountLoaded int // Number of accounts loaded
4243 AccountUpdated int // Number of accounts updated
@@ -114,7 +115,7 @@ EVM execution: %v
114115Validation: %v
115116Account read: %v(%d)
116117Storage read: %v(%d)
117- Account hash: %v
118+ Account hash: %v(wait=%v)
118119Storage hash: %v
119120DB commit: %v
120121Block write: %v
@@ -126,7 +127,7 @@ Total: %v
126127 common .PrettyDuration (s .Execution ), common .PrettyDuration (s .Validation + s .CrossValidation ),
127128 common .PrettyDuration (s .AccountReads ), s .AccountLoaded ,
128129 common .PrettyDuration (s .StorageReads ), s .StorageLoaded ,
129- common .PrettyDuration (s .AccountHashes + s .AccountCommits + s .AccountUpdates ),
130+ common .PrettyDuration (s .AccountHashes + s .AccountCommits + s .AccountUpdates ), common . PrettyDuration ( s . AccountUpdateWait ),
130131 common .PrettyDuration (s .StorageCommits + s .StorageUpdates ),
131132 common .PrettyDuration (s .TrieDBCommit + s .SnapshotCommit ), common .PrettyDuration (s .BlockWrite ),
132133 common .PrettyDuration (s .TotalTime ), s .StateReadCacheStats )
0 commit comments