HowardMei / py-frameworks-bench

Another benchmark for some python frameworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python frameworks' benchmarks

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.

The results

See http://klen.github.io/py-frameworks-bench.

Run benchmarks locally

Let's assume that you have already installed:

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

About

Another benchmark for some python frameworks


Languages

Language:Python 59.4%Language:Makefile 18.5%Language:HTML 7.3%Language:Shell 7.1%Language:Lua 6.5%Language:Smarty 1.0%Language:Vim Script 0.1%