12. Installing XHProf
On Windows:
ā¢If you need a working DLL for XHProf on Windows (PHP 5.4) check
http://dev.freshsite.pl/php-extensions/xhprof.html
ā¢This one tracks time, while other builds found on the internet did
not
MacPorts:
ā¢sudo port install php54-xhprof
Linux:
ā¢Search for a package in your distribution of choice
17. More XHProf Beauty
PhpProļ¬ler can store data for
ā¢xhprof.io settings (http://xhprof.io/)
ā¢preinheimer-xhgui (https://github.com/preinheimer/xhgui)
Install from their websites and set up as documented there :)
Conļ¬gure the backend(s) to use
23. Running the UIs
preinheimer-xhgui
cd /path/to/xhgui/web/webroot
php -S localhost:8080
xhprof.io
cd /path/to/xhprof.io
php -S localhost:8080
ā¢unfortunately that needs a proper virtual host
25. Plans for the near Future
Make use of backends conļ¬gurable
ā¢there are some more helpful conļ¬guration settings
Import existing proļ¬les into new analysis tools
ā¢if a better UI comes up, using old data would be nice
Provide "production mode" that can be left running on live servers
ā¢do not proļ¬le every request, but only every 2nd, 10th, 100th, ā¦
Merge branches back into master, polish, promote
26. Help to make this reality!
Fund my project proposal
Any amount helps
Have a better Plumber
Pledge