mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
perf(tree): add elapsed time to parallel state root completion log (#18959)
This commit is contained in:
@@ -492,13 +492,15 @@ where
|
||||
ctx.state(),
|
||||
) {
|
||||
Ok(result) => {
|
||||
let elapsed = root_time.elapsed();
|
||||
info!(
|
||||
target: "engine::tree",
|
||||
block = ?block_num_hash,
|
||||
regular_state_root = ?result.0,
|
||||
?elapsed,
|
||||
"Regular root task finished"
|
||||
);
|
||||
maybe_state_root = Some((result.0, result.1, root_time.elapsed()));
|
||||
maybe_state_root = Some((result.0, result.1, elapsed));
|
||||
}
|
||||
Err(error) => {
|
||||
debug!(target: "engine::tree", %error, "Parallel state root computation failed");
|
||||
|
||||
Reference in New Issue
Block a user