News Feed
Sections




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

DevShed:
Benchmarking with the Xdebug Extension
March 09, 2009 @ 15:11:17

DevShed has posted their next-to-last article in their look at using XDebug in your applications - part six, a look at doing some benchmarking with functions the extension provides.

You'll be pleased to hear that the Xdebug extension comes equipped with additional functions that allow us to perform other debugging tasks, such as benchmarking PHP applications and checking in what order certain functions were called by the PHP engine. Therefore, in this sixth chapter of the series I'll be discussing in depth how to take advantage of the benchmarking abilities offered by the Xdebug library, which rely heavily on its "xdebug_time_index()" function.

Their benchamrking example uses the xdebug_time_index function to compare the start and end times of a script. Dropping it into a method in a class makes it even easier - they call the getTime method in their Timer class to grab the latest value.

0 comments voice your opinion now!
benchmark xdebug extension tutorial timer start end


blog comments powered by Disqus

Similar Posts

Vid Luther's Blog: Installing the PHP SSH2 extension in Snow Leopard (10.6)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 10)

Rob Allen's Blog: Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase

JellyandCustard.com: Using DirectoryIterator to List Files in PHP

DevShed: Creating a Login Script for a PHP Invoicing System


Community Events





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


configure testing language developer code list laravel community framework threedevsandamaybe unittest introduction release opinion series interview install refactor wordpress podcast

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