tonybogdanov / xhprof
v1.0
2019-11-30 20:15 UTC
Requires
- symfony/filesystem: 4.*
This package is auto-updated.
Last update: 2024-11-29 06:03:35 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;