Middleware to count and time method calls for quick and dirty performance tracing