Hacker News new | past | comments | ask | show | jobs | submit login

You should compare Flask to Express or Koa, not raw nodejs. Flask is 3x faster than Express and 2x faster than Koa.



The thread-starter's question was asking about Flask vs. Node.js and Tornado, so I answered accordingly.


Followed the link, it shows plaintext from express at 2.1% and flask at 1.3%. Am I missing something?


Flask is on there about 3 times, with different choices for ORM. It's at about 8% when used without an ORM. There's no sans-ORM configuration for Express, though, so still not an apples-to-apples comparison. I suspect the grandparent missed the other Flask configurations in the very long list.


Can you cite your source?


Just follow the link to the Techempower benchmarks on grandparent's post.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: