japronto icon indicating copy to clipboard operation
japronto copied to clipboard

not run async

Open franzkurt opened this issue 2 years ago • 1 comments

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

franzkurt avatar Jun 30 '23 17:06 franzkurt

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

cirospaciari avatar Jul 11 '23 20:07 cirospaciari