This module provides profiling middleware to measure the application's runtime behaviour.
Profiler data is written to the module's logger. You have to run the
application in interpreted mode (passing
-o -1 on the command line)
to get meaningful results.
- middleware (next, app)
middleware (next, app)
A middleware factory that runs the nested app with a runtime profiler.
the wrapped middleware chain
the Stick Application object
a JSGI middleware function