socketify.py/bench/robyn_plaintext.py

14 wiersze
219 B
Python

from robyn import Robyn
app = Robyn(__file__)
@app.get("/")
def h(request):
return "Hello, World!"
app.start(port=8000)
# python3 ./robyn_plaintext.py --processes 4 --log-level CRITICAL
# pypy3 did not compile