squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.62k stars 580 forks source link

not run async #189

Open franzkurt opened 12 months ago

franzkurt commented 12 months ago

Into https://github.com/squeaky-pl/japronto/blob/e73b76ea6ee2e2cc888da569f9caf6d59d1d3d8c/examples/2_async/async.py#L26 i run and get this response

127.0.0.1 GET /oasasas /usr/local/lib/python3.9/dist-packages/japronto-0.1.2-py3.9-linux-x86_64.egg/japronto/app/__init__.py:182: RuntimeWarning: coroutine 'route_handler' was never awaited loop.run_forever() RuntimeWarning: Enable tracemalloc to get the object allocation traceback

cirospaciari commented 11 months ago

japronto is not being maintained anymore check other projects with performance in mind: https://github.com/cirospaciari/socketify.py https://github.com/jamesroberts/fastwsgi https://github.com/emmett-framework/granian

Latest TFB https://www.techempower.com/benchmarks/#section=test&runid=273fa177-fc53-43a9-a97d-d6f3f2ade99a&test=plaintext&l=hr41kv-35r