Skip to content

Commit 6275938

Browse files
author
Hiemanshu Sharma
committed
Add bottle
1 parent 5d7b2c4 commit 6275938

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Framework | Requests/Sec | Average Latency
1717
[Zewo](https://github.com/Zewo/Zewo) | 4948 | 31.02 ms
1818
[Flask + Tornado](https://github.com/tornadoweb/tornado) | 1805 | 81.79 ms
1919
[Sinatra](https://github.com/sinatra/sinatra) | 974 | 203.71 ms
20+
[Bottle](https://github.com/bottlepy/bottle) | 546 | 1.38ms
2021
[Flask](https://github.com/pallets/flask) | 544 | 74.15 ms
2122
[Falcon](https://github.com/falconry/falcon) | 543 | 47.06 ms
2223

bottle/app.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from bottle import route, run
2+
3+
@route('/hello')
4+
def index():
5+
return "Hello, World!"
6+
7+
run(host='localhost', port=8080)

0 commit comments

Comments
 (0)