kopia lustrzana https://github.com/cirospaciari/socketify.py
updated benchs
rodzic
13cb86900a
commit
f4a899309e
|
@ -21,4 +21,9 @@ if __name__ == '__main__':
|
|||
# Serve until process is killed
|
||||
httpd.serve_forever()
|
||||
|
||||
#pypy3 -m gunicorn falcon_plaintext:app -w 1
|
||||
#pypy3 -m gunicorn falcon_plaintext:app -w 4 --worker-class=gevent #recomended for pypy3
|
||||
#python3 -m gunicorn falcon_plaintext:app -w 4 #without Cython
|
||||
#pypy3 -m gunicorn falcon_plaintext:app -w 4 #without gevent
|
||||
#python3 -m gunicorn falcon_plaintext:app -w 4 --worker-class="egg:meinheld#gunicorn_worker" #with Cython
|
||||
#meinheld is buggy -> greenlet.c:566:10: error: no member named 'use_tracing' in 'struct _ts'
|
||||
#so using pip3 install git+https://github.com/idot/meinheld.git@2bfe452d6608c92688d92337c87b1dd6448f4ccb
|
||||
|
|
|
@ -18,8 +18,4 @@ def create_fork():
|
|||
for i in range(1, multiprocessing.cpu_count()):
|
||||
create_fork()
|
||||
|
||||
run_app() # run app on the main process too :)
|
||||
|
||||
|
||||
|
||||
|
||||
run_app() # run app on the main process too :)
|
|
@ -14,5 +14,4 @@ async def app(scope, receive, send):
|
|||
})
|
||||
|
||||
#python3 -m gunicorn uvicorn_guvicorn_plaintext:app -w 1 -k uvicorn.workers.UvicornWorker
|
||||
#pypy3 -m gunicorn uvicorn_guvicorn_plaintext:app -w 1 -k uvicorn.workers.UvicornWorker
|
||||
|
||||
#pypy3 -m gunicorn uvicorn_guvicorn_plaintext:app -w 1 -k uvicorn.workers.UvicornWorker
|
Plik binarny nie jest wyświetlany.
Przed Szerokość: | Wysokość: | Rozmiar: 21 KiB Po Szerokość: | Wysokość: | Rozmiar: 40 KiB |
File diff suppressed because one or more lines are too long
Przed Szerokość: | Wysokość: | Rozmiar: 7.3 KiB Po Szerokość: | Wysokość: | Rozmiar: 7.8 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 79 KiB |
Ładowanie…
Reference in New Issue