aiohttp is slightly faster actually

Disabling access log increases RPS a lot
This commit is contained in:
Andrew Svetlov 2016-11-11 22:36:49 +02:00 committed by GitHub
parent 49d004736a
commit 0822674f70

View File

@ -15,4 +15,4 @@ async def handle(request):
app = web.Application(loop=loop) app = web.Application(loop=loop)
app.router.add_route('GET', '/', handle) app.router.add_route('GET', '/', handle)
web.run_app(app, port=sys.argv[1]) web.run_app(app, port=sys.argv[1], access_log=None)