Merge pull request #31 from narzeja/benchmark_bottle_gunicorn

Bottle.py+gunicorn simple_server
This commit is contained in:
Channel Cat 2016-10-16 00:11:24 -07:00 committed by GitHub
commit 4ab5ee36de
2 changed files with 12 additions and 0 deletions

View File

@ -5,3 +5,5 @@ aiohttp
pytest
coverage
tox
gunicorn
bottle

View File

@ -0,0 +1,10 @@
from bottle import route, run
import ujson
@route('/')
def index():
return ujson.dumps({'test': True})
run(server='gunicorn', host='0.0.0.0', port=8080)