Add metrics for the two things that seem to affect performance most:
event.Feed.Send: all consumers are blocking. If there are more events firing than consumers can keep up with, things that to block due to back-pressure. We should meter these send delays.
txpool.Reset on new-head: meter how long it takes to adapt the pool to a new state of balance/nonce values.
Description
Add metrics for the two things that seem to affect performance most:
event.Feed.Send
: all consumers are blocking. If there are more events firing than consumers can keep up with, things that to block due to back-pressure. We should meter these send delays.txpool.Reset
on new-head: meter how long it takes to adapt the pool to a new state of balance/nonce values.