Skip to content

Instantly share code, notes, and snippets.

@ivastly
Last active November 23, 2020 17:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivastly/639a6ac0e9c4c2560437b6704aa6a4fd to your computer and use it in GitHub Desktop.
Save ivastly/639a6ac0e9c4c2560437b6704aa6a4fd to your computer and use it in GitHub Desktop.
Run Dockerized XHProf Viewer oneliner
# dumps must be in ./xhprof folder, named like uniqid() . 'appname.xhprof';
# use tideways_xhprof extension to generate them https://github.com/tideways/php-xhprof-extension
docker run --rm -p 81:8080 -v $(pwd)/xhprof:/mnt/files/private/xhprof -d --name xhprof wodby/xhprof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment