News Feed

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

Harrie Verveer's Blog:
Benchmarking Xdebug
February 01, 2011 @ 08:08:07

Harrie Verveer has a new post to his blog today looking at some benchmarking numbers he's run on the performance difference Xdebug (the popular PHP debugger) would have on a production system.

Normally this tool would be used on your development environment, or in rare occasions on some remote environment that is similar to the production environment. [...] Since you are adding extra overhead it is very likely things will run slower. But how significant is this difference. Would it be something worth considering?

To lay the ground work, he describes the hardware he's running the tests on and the software he used - PHP 5.2.6 (Suhosin) on Debian with Xdebug 2.1.0 - and the script he used to run the tests. Several tests were run multiple times (3) showing quite a difference in performance when using the debugger versus not. He also suggests a more practical testing scenario with WordPress and ApacheBench. The numbers still support the other results.

In a side note, the Twitter account for Xdebug has mentioned some updates that have been made to the version currently on their SVN server that can help with some of these performance issues.

0 comments voice your opinion now!
xdebug performance benchmark production testing

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: High-Performance String Concatenation in PHP

Doru Moisa's Blog: Static call versus Singleton call in PHP

Padraic Brady's Blog: PHPMutagen: Mutation Testing for PHP5

Paul Jones\' Blog: Solar 0.18.0 released, and more about testing

SitePoint PHP Blog: 8 Heroku Add-ons for Production Ready PHP Apps

Community Events

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

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

All content copyright, 2014 :: - Powered by the Solar PHP Framework