Updated performance tests

This commit is contained in:
Channel Cat
2016-10-09 15:41:37 -07:00
parent 49c499f44d
commit 22cb8b858f
3 changed files with 29 additions and 0 deletions

View File

@@ -1,13 +0,0 @@
from aiohttp import web
async def handle(request):
name = request.match_info.get('name', "Anonymous")
text = "Hello, " + name
return web.Response(text=text)
app = web.Application()
app.router.add_get('/', handle)
app.router.add_get('/{name}', handle)
web.run_app(app)