Moving the metrics incrementing out of the event loop (CPU profiling determined this took non-negligible time)
Merge pull request #89 from mattrjacobs/metrics-out-of-event-loop

Moving the metrics incrementing out of the event loop (CPU profiling det...