webgrind PHP程序性能监测

2009-12-04 11:23:40

分类:PHP 标签:,,,

安装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

相关文章


评论

(希望得到你的交流反馈)

(留言审核后才真正显示,请勿SEO!)

Anti-spam image