4 ms·
You should compare Flask to Express or Koa, not raw nodejs. Flask is 3x faster than Express and 2x faster than Koa.
by rlander 11y ago
You should compare Flask to Express or Koa, not raw nodejs. Flask is 3x faster than Express and 2x faster than Koa.
- nostrademons 11y agoThe thread-starter's question was asking about Flask vs. Node.js and Tornado, so I answered accordingly.
- codesushi42 11y agoCan you cite your source?
- rlander 11y agoJust follow the link to the Techempower benchmarks on grandparent's post.
- maxthegeek1 11y agoFollowed the link, it shows plaintext from express at 2.1% and flask at 1.3%. Am I missing something?
- nostrademons 11y agoFlask 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.