def _perform_call(self, func, args): __traceback_hide__ = 'before_and_this' measure = measurement.enable( "pylons.controllers.core.WSGIController._perform_call") result = wsgi_controller_perform_call(self, func, args) measurement.disable(measure) return result
def commit(self): measure = measurement.enable("sqlalchemy.orm.session.Session.commit") result = _session_commit(self) measurement.disable(measure) return result
def close(self): measure = measurement.enable( "sqlalchemy.orm.session.SessionTransaction.commit") result = _transaction_close(self) measurement.disable(measure) return result
def wsgi_start_response(self, status, response_headers, exc_info=None): measure = measurement.enable("paste.httpserver.WSGIHandlerMixin.wsgi_start_response") result = _org_wsgi_start_respone(self, status, response_headers, exc_info) measurement.disable(measure) return result