Very basic hello world app hosted under gunicorn (just returning the string “hello world”, so hopefully this is measuring the framework time). Siege set to do 10k requests, 25 concurrency, running that twice so that they each have a chance to “warm up”, the second round (warmed up) results give me:
- pypy : 8127.44 trans/sec
- cpython: 4512.64 trans/sec
So it seems like there’s definitely things that pypy’s JIT can do to speed up the Flask underpinnings.
I had no idea Pypy could improve webapps this much. I really ought to give it a try speeding GeneticEngine again. Guilherme suggested it originally, but there was some C-binding issues at the time. Will report back.