Middleware for profiling Rack-compatible apps using perftools.rb