bug 1058877 - Measure what the middleware does the most

@twobraids r?

This is disabled by default. I'm hoping to enable it temporarily (for a week or two) on stage once this lands. 
I can't make inline comments anymore due to a bug in github...

line 400 - is this option still used anywhere?