News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



DevShed:
Using Timers to Benchmark PHP Applications
0 comments :: posted Wednesday April 30, 2008 @ 14:31:08
voice your opinion now!

DevShed has posted the second article in their series looking at benchmarking your PHP scripts. This time they look at the use of "timers" to check on script execution length.

Since you already know how to create timer functions and classes, in this tutorial, I'll create some concrete examples that show where these timing mechanisms can be applied in order to evaluate the performance of certain PHP applications.

They create a few classes that connect to a database and pull out rows (handing it off to a Result class). They use these classes in two examples - one with compression (output buffering) and one without using their Timer class to evaluate the differences.

tagged with: timer benchmark application tutorial class mysql row output buffering



releases PEAR zend framework developer pecl package mysql application database job security code book release ajax cakephp zendframework PHP5 conference

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