XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 32 commits ahead of phacility:master.
rustjason Merge pull request #3 from Provoker/fix
Fix segfault on php 7.1
Latest commit 36b44f4 May 1, 2017


xhprof for PHP7

Please do not use this in an production env.

生产环境勿用。 代码简直没法看。


Compile in Linux

$ /$PHP7/bin/phpize
$ ./configure --with-php-config=/$PHP7/bin/php-config
$ make && make install

edit php.ini, add a new line:


make sure it works:

php7 -m |grep xhprof