php[architect] logo

Want to check out an issue? Sign up to receive a special offer.

Symfony 2 benchmarks: more than meets the eye?

Posted by on February 22, 2010

Symfony 2.0 Preview ReleaseSymfony lead Fabien Potencier has posted a new set of Symfony 2 benchmarks on the project’s site, showing that Symfony 2 is faster than many of the common PHP frameworks out there, including Symfony 1.4.2.

Paul Jones, who develops Solar, however, tried to reproduce Potencier’s results and was unable to confirm his findings. Jones has posted his results and details of his tests in a blog post titled, “Running the Symfony 2 Benchmarks“. He found that Symfony 2 is only 5% faster than Solar 1.0.0beta 3, compared to Potencier’s findings of 20% faster, and had trouble reproducing the Lithium and Flow3 benchmarks using . the latter’s code; according to the blog post, Jones intends to investigate the code provided by Potencier to see if there is a discrepancy there that is causing the failures.

All in all, php|a is pleased to see that Paul’s benchmarking process is being utilized by other frameworks, and we are looking forward to seeing faster frameworks in the future.


Elizabeth Tucker Long is the Editor-In-Chief of php[architect] magazine as well as a trainer and occasional guest blogger for php[architect]. She also runs Treeline Design - http://www.treelinedesign.com, a web development company, and Playlist Event Music - http://www.playlisteventmusic.com, a DJ company, along with her husband, Chris, and son, Liam.
Tags: , , , ,
 

Responses and Pingbacks

Hearing the performance enhancements was one of the factors to make me think about using Symfony 2.0, even though benchmarks do not quite match up to what is being promoted, are people finding it significantly faster than current versions?

Or is this all a myth and marketing ploy to get us to join the Symfony boat (in which the only real downfall is performance).

After all I am wondering if it is not the frameworks problem at all but PHP’s, maybe we do have to choose either features OR performance. Interested where new guys like Lithium may take us. The good thing about a new framework is that they have no pressure to reproduce the same feature set as previous versions.

Thanks for the write up!

Leave a comment

Use the form below to leave a comment: