Skip to content
fiorix edited this page Sep 13, 2010 · 4 revisions

Benchmarks

Some of the most popular Python web frameworks have been tested with a simple “hello world” application in order to compare performance against Cyclone.

All the tests were performed using ApacheBench (ab -n 100000 -c 25 http://host). Cyclone, Tornado and TwistedWeb were proxied by nginx, 1 single-threaded frontend each. Django was also proxied by nginx, with a multithreaded frontend via FastCGI. And, web.py was proxied by lighttpd, 25 frontends, WSGI.

Not as fast as Tornado, because Twisted’s core I/O isn’t as fast as Tornado’s. However, Cyclone is faster than all the others, including TwistedWeb (haven’t tried TwistedWeb2 yet).

Clone this wiki locally