tornado_profile.py
def post(self):
        """Dump current profiler statistics into a file."""
        filename = self.get_argument('filename', 'dump.prof')
        CProfileWrapper.profiler.dump_stats(filename)
        self.finish()
def post(self):
        """Dump current profiler statistics into a file."""
        filename = self.get_argument('filename', 'dump.prof')
        CProfileWrapper.profiler.dump_stats(filename)
        self.finish()
Dump current profiler statistics into a file.