News Feed
Sections




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

SitePoint PHP Blog:
PHPBench.com Live PHP benchmarks, demystifying "best practices"
June 03, 2008 @ 12:09:10

In this new post to the SitePoint PHP blog Akash Mehta talks about a web application, PHPBench.com, that runs real-time benchmarks comparing some of PHP's own structures (like for versus foreach or echo versus print).

The benchmark suite covers all the usual bases, taking a simple task - like iterating over an array - and speed testing almost every possible way to achieve it. Most importantly, however, Chris takes raw numbers out of the spotlight and instead focuses on how the options compare with each other.

Since the results are generated live, they'll change a little bit each time the page is loaded. Each also includes a link to the code behind the benchmark so you can test it on your own system easily.

3 comments voice your opinion now!
bestpractices benchmark demystify compare structure


blog comments powered by Disqus

Similar Posts

Paul Jones' Blog: Lazyweb Request: Why would PHP be *faster* than HTML?

Konr Ness' Blog: Zend_Config Benchmark - JSON, Array, INI, XML, YAML

PHPMaster.com: Data Structures for PHP Devs: Graphs

Jani Hartikainen's Blog: Doctrine vs. Propel: 2009 update

Perl.com: Programming is Hard, Let's Go Scripting...


Community Events





Don't see your event here?
Let us know!


developer threedevsandamaybe series laravel install community library code language bugfix interview symfony release introduction application podcast api configure wordpress list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework