v1.0 2019-11-30 20:15 UTC

This package is auto-updated.

Last update: 2023-01-29 03:03:23 UTC


README

cd ~/
mkdir xhprof
cd xhprof
git clone https://github.com/tideways/php-xhprof-extension.git .
phpize
./configure
make
sudo make install
echo "extension=tideways_xhprof.so" >> php.ini
service apache2 restart
composer require --dev tonybogdanov/xhprof
\Profiler\Profiler::registerPublicPath( 'public/xhprof', 'http://localhost/xhprof' );
\Profiler\Profiler::start();

// Code being profiled.

\Profiler\Profiler::stop();
exit;