News Feed
Sections




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

DevShed:
Using Timers to Benchmark PHP Applications
April 30, 2008 @ 14:31:08

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.

0 comments voice your opinion now!
timer benchmark application tutorial class mysql row output buffering


blog comments powered by Disqus

Similar Posts

Errumm.co.uk: My first experience in building a FaceBook Application in PHP

Lukas Smith's Blog: Who is using namespaces in PHP already?

Unravel the Music Blog: Partial-page caching with Memcached and PHP in 3 easy steps

SaniSoft Blog: Lambda functions and Closures in PHP 5.3c

DZone.com: Sencha Touch 2 Models - Loading And Saving Model Data Using a Proxy, PHP Example


Community Events





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


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

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