(app)
return profile_internal
Outputs basic profiling information at the bottom of each response.
Outputs basic profiling information at the bottom of each response.
Outputs basic profiling information at the bottom of each response .
def profiler(app):
    """Outputs basic profiling information at the bottom of each response."""
    from utils import profile
    def profile_internal(e, o):
        out, result = profile(app)(e, o)
        return out + ['<pre>' + net.websafe(result) + '</pre>']
    return profile_internal
def profiler ( app ) : from utils import profile def profile_internal ( e , o ) : out , result = profile ( app ) ( e , o ) return out + [ '<pre>' + net . websafe ( result ) + '</pre>' ] return profile_internal