cerc-io / go-ethereum

Read-only mirror of https://git.vdb.to/cerc-io/go-ethereum (Statediffing-fork of the official Go implementation of the Ethereum protocol)
https://git.vdb.to/cerc-io/go-ethereum
GNU Lesser General Public License v3.0
13 stars 4 forks source link

Add timers and update StandardTimer to include total time. #316

Closed telackey closed 1 year ago

telackey commented 1 year ago

Add a raft of new timers, plus change the geth standard timer to include a basic counter of the total rather than relying on the internal histogram.

The goal is a sort of ersatz profiling, as we will be able to see the amount of time spent in each section of the statediffing code.