Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page > Feature Requests > Profiling! Permanent link to this page
 
 
Author Message:
legolas558
Profiling!
23 November 2006 00:58
Anonymous I finally got my PHP profiler:

XDEBUG

I downloaded the module for PHP5 and configured it in php.ini adding the following lines:

Code:
zend_extension_ts="c:/inetpub/php5/php_xdebug.dll"xdebug.profiler_enable=1
xdebug.profiler_output_dir="c:/inetpub/php5/dumps/"



Don't forget to turn back xdebug.profiler_enable to 0 when you're finished with profiling.

Once you get the cachegrind profiled data (a cachegrind.out.* file located in the xdebug.profiler_output_dir) use KCacheGrind (linux) or WinCacheGrind (windows) to analyze the timings.

I expect appalling optimizations using this great profiler, Drake CMS is a lightweight CMS and with this new analysis tool we can furthermore improve the overall speed smile
 
Top