tornado_profile.py
def main(port=8888):
    """Run as sample test server."""
    import tornado.ioloop

    routes = [] + TornadoProfiler().get_routes()
    app = tornado.web.Application(routes)
    app.listen(port)
    tornado.ioloop.IOLoop.current().start()
def main(port=8888):
    import tornado.ioloop

    routes = [] + TornadoProfiler().get_routes()
    app = tornado.web.Application(routes)
    app.listen(port)
    tornado.ioloop.IOLoop.current().start()
def main ( port = 8888 ) : import tornado . ioloop routes = [ ] + TornadoProfiler ( ) . get_routes ( ) app = tornado . web . Application ( routes ) app . listen ( port ) tornado . ioloop . IOLoop . current ( ) . start ( )
Run as sample test server.
Run as sample test server .