add bottle simple_server using gunicorn
This commit is contained in:
parent
4153028096
commit
a320bc28a6
|
@ -5,3 +5,5 @@ aiohttp
|
|||
pytest
|
||||
coverage
|
||||
tox
|
||||
gunicorn
|
||||
bottle
|
||||
|
|
10
tests/performance/bottle/simple_server.py
Normal file
10
tests/performance/bottle/simple_server.py
Normal 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)
|
Loading…
Reference in New Issue
Block a user