xdebug performance profiling
Links
http://www.sitepoint.com/blogs/2007/04/23/faster-php-apps-profile-your-code-with-xdebug/
http://xdebug.org/docs/profiler
http://www.pseudocoder.com/archives/2007/04/24/how-to-really-use-xdebug-to-speed-up-your-app/
Installation
- vi web/.htaccess
-
php_value xdebug.profiler_output_dir /tmp #php_value xdebug.profiler_output_name timestamp php_value xdebug.profiler_enable 1
-
CLI:
- sudo vi /etc/php5/cli/conf.d/xdebug.ini
-
xdebug.profiler_output_dir = "/tmp" xdebug.profiler_enable = 1
-