Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
The Great Web Framework Shootout
Feb 21, 2012 @ 11:03:40

Seth Davis has put together a github repository with some benchmarking for some of the most common web frameworks - both PHP and not. His statistic is "requests per second" in a few scenarios: a "hello world" string test, a test with a database connection and one with a templated response.

It should also be noted that my goal here was not necessarily to figure out how fast each framework could perform at its most optimized configuration (although built-in caching and other performance tweaks were usually enabled if the default configuration permitted it), but rather to see what a minimal "out-of-the-box" experience would look like.

Current results (as summed up in the current README) are for frameworks that include:

  • Pyramid (Python)
  • Django (Python)
  • Sinatra (Ruby)
  • CodeIgniter (PHP)
  • Yii (PHP)
  • Symfony (PHP)
CakePHP (PHP)
tagged: framework web benchmark compare requestspresecond

Link: