# Path: benchmark/tornado/handler/timed.py
# class TimedHandler(web.RequestHandler):
#     @gen.coroutine
#     def get(self):
#         with timer.time():
#             self.write('finished')


from tornado import ioloop, web
from .handler.timed import TimedHandler



if __name__ == "__main__":
    application = web.Application([
        (r"/", TimedHandler),
    ])

    application.listen(8888)

# Path: benchmark/tornado/handler/timed.py
# class TimedHandler(web.RequestHandler):
#     @gen.coroutine
#     def get(self):
#         with timer.time():
#             self.write('finished')


# Path: benchmark/tornado/metrics_single_process.py
from tornado import ioloop, web
from .handler.timed import TimedHandler




if __name__ == "__main__":
    application = web.Application([
        (r"/", TimedHandler),
    ])

    application.listen(8888)

    ioloop.IOLoop.instance().start()