parameters: (app)
return_statement: return profile_internal
docstring: Outputs basic profiling information at the bottom of each response.
docstring_summary: Outputs basic profiling information at the bottom of each response.
docstring_tokens: Outputs basic profiling information at the bottom of each response .
function: 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
function_tokens: 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