.htaccessに以下を追記
# xDebug profiler
php_flag xdebug.profiler_append Off
php_flag xdebug.profiler_enable On
php_flag xdebug.profiler_enable_trigger On
php_value xdebug.profiler_output_dir /home/sv01/www/html/logs
php_value xdebug.profiler_output_name xdebug%Rlog
XDEBUG_PROFILEをGETパラメーターにしてサイトにアクセスします。
※mod_rewriteでリライトされると取れない場合があると思うので気をつけて下さい
例)
http://example.com/?XDEBUG_PROFILE
この設定を行うと、リクエストごとのプロファイルファイルが、xdebug_profiler_output_dirに出力されます。
例)xdebug_products_detail25795_htmllog
このログを見てもいいですがみにくいのでGUIを利用します。
https://github.com/ceefour/wincachegrind/releases/tag/1.1