webgrind PHP程序性能监测

Standard

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.