Xprof es una herramienta para medir la velocidad de su aplicación php.

Para instalar:

git clone https://github.com/longxinH/xhprof.git ./xhprof
cd xhprof/extension/
phpize
./configure
make && sudo make install
make test

En php.ini:

[xhprof]
extension = xhprof.so
xhprof.output_dir = /tmp/xhprof

Si usas Vestacp, modifica estos ficheros para tener acceso a estadística de xprof en subdominio xh (xh.sudominio.com) previamente creado:

cd /home/admin/conf/web/
nano xh.apache2.conf
nano xh.nginx.conf
Buscar y reemplazar public_html a xhprof_html
xhprof callgraph
El resultado de xhprof con callgraph