/xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.

Primary LanguagePHPApache License 2.0Apache-2.0

xhprof for PHP7

Please do not use this in an production env.

Install

Compile in Linux

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

edit php.ini, add a new line:

extension=xhprof.so

make sure it works:

php7 -m |grep xhprof