webapp2.RequestHandler.dispatch code with perfmetrics