webgrind PHP程序性能监测
2009-12-04 11:23:40
分类:PHP 标签:php,webgrind,xdebug,性能
安装Xdebug:
步骤略过…
Xdebug设置:
zend_extension_ts="../../xdebug.so" xdebug.profiler_output_dir="/tmp" xdebug.profiler_enable_trigger=on
测试方法:
通过向URL里传递一个名为XDEBUG_PROFILE的GET变量来触发xdebug的profiler,如: http://localhost/index.php?XDEBUG_PROFILE