Open TomoakiNagahara opened 1 year ago
sudo port install php-tideways_xhprof
sudo port install go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
go install github.com/tideways/toolkit
toolkit analyze-xhprof /www/_caches/php/xhprof/date/*.xhprof
toolkit generate-xhprof-graphviz /www/_caches/php/xhprof/date/*.xhprof
dot -Tpng callgraph.dot > callgraph.png
maybe, not support Tideways.
git clone https://github.com/sters/xhprof-html
cd xhprof-html
php -S localhost:8001
http://localhost:8001/?dir={Your xhprof profiling result dir}
Tideways
dev.php
Analytics