Similar to #17 which is about a more fine-grained performance benchmark for the rpcs, I suggest to do the same for internal functions such as ConnectBlock.
We could either parse the debug log for the durations that are logged or use a more general framework/tooling to collect durations of specific functions or code paths.