Skip to content

Instantly share code, notes, and snippets.

@baojie
Created December 3, 2013 23:42
Show Gist options
  • Save baojie/7779782 to your computer and use it in GitHub Desktop.
Save baojie/7779782 to your computer and use it in GitHub Desktop.
flask vs tornado benchmark on basic routing and template rendering
Flask, Python 2.7, Single core 271.97 [#/sec] (mean)
Flask, Pypy, Single core 547.11
Flask+Gunicorn, Python, 8Core 1363.06
Flask+Gunicorn, Pypy, 8Core 2701.90
Flask+Gunicorn+Tornado, Python, 8Core 1403.88
Flask+Gunicorn+Tornado, Pypy, 8Core 2582.12
Tornado, Python, Single core 839.65
Tornado, Async, Python, Single core 801.19
Tornado, Pypy, Single core 1841.41
Tornado, Async, Pypy, Single core 1734.37
Tornado, Python, 8 core 3337.55
Tornado, Pypy, 8 core 3506.92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment