logoalt Hacker News

quibono07/31/20253 repliesview on HN

Do you happen to know if Flask is supported by any chance?


Replies

Twirrim07/31/2025

Yes. I've had a small webapp running under it quite happily (complete overkill, but it's a personal project and I was curious).

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.
tgbugs07/31/2025

Yes, have been using Flask on PyPy3 for years. I get about a 4x speedup.

nromiun07/31/2025

I just tested it and it works perfectly.