There are some benchmarks for popular python frameworks.
- Aiohttp -- Http client/server for asyncio
- Bottle -- Fast, simple and lightweight WSGI micro web-framework
- Django -- The Web framework for perfectionists with deadlines
- Falcon -- A high-performance Python framework for building cloud APIs
- Flask -- A microframework based on Werkzeug, Jinja2 and good intentions
- Muffin -- A web-framework based on Asyncio stack
- Pyramid -- A small, fast, down-to-earth, open source Python web framework
- Tornado -- A Python web framework and asynchronous networking library
- Wheezy Web -- A lightweight, high performance, high concurrency WSGI web framework.
The goal of the project is not tests for deployment (like uwsgi vs gunicorn and etc) but instead tests the frameworks itself.
See http://klen.github.io/py-frameworks-bench.
Let's assume that you have already installed:
- Vagrant and
- VirtualBox.
- Ansible.
Run the following commands, it will install every dependency that the project needs, setup any networking, and sync folders :
$ vagrant up
$ make provision
Go to your setuped Vagrant environment and run the benchmarks:
$ vagrant ssh
$ cd /var/www
$ sudo /var/www/run_tests