Package cherrypy :: Package lib :: Module profiler :: Class make_app
[hide private]
[frames] | no frames]

Class make_app

source code

Instance Methods [hide private]
 
__init__(self, nextapp, path=None, aggregate=False)
Make a WSGI middleware app which wraps 'nextapp' with profiling.
source code
 
__call__(self, environ, start_response) source code
Method Details [hide private]

__init__(self, nextapp, path=None, aggregate=False)
(Constructor)

source code 
Make a WSGI middleware app which wraps 'nextapp' with profiling.

nextapp: the WSGI application to wrap, usually an instance of
    cherrypy.Application.
path: where to dump the profiling output.
aggregate: if True, profile data for all HTTP requests will go in
    a single file. If False (the default), each HTTP request will
    dump its profile data into a separate file.