Install https://github.com/jrfonseca/gprof2dot
Install http://www.graphviz.org/
Generate a cachegrind.out file using XDebug
Generate a dot file:
$ ./gprof2dot.py --format=callgrind --output=out.dot /tmp/cachegrind.out.1360843301.16101Install https://github.com/jrfonseca/gprof2dot
Install http://www.graphviz.org/
Generate a cachegrind.out file using XDebug
Generate a dot file:
$ ./gprof2dot.py --format=callgrind --output=out.dot /tmp/cachegrind.out.1360843301.16101# (On Mac OSX) Start recording with your login shell.
# This ensures any aliases you've setup in .bash_profile are still available
cd ~/PhpStormProjects/asciinema/
python3 -m asciinema rec terminal.log -c "/bin/bash -l" -w5