Skip to content

Instantly share code, notes, and snippets.

@mattip
Created February 7, 2020 11:40
Show Gist options
  • Save mattip/0a62ad95f42175cf8b4ba7935cbcca4f to your computer and use it in GitHub Desktop.
Save mattip/0a62ad95f42175cf8b4ba7935cbcca4f to your computer and use it in GitHub Desktop.
profiling sphinx
/path/to/pypy2-HEAD/bin/pypy -mpip install pyprof2calltree
/path/to/pypy2-HEAD/bin/pypy -mcProfile -o /tmp/sphinx.prof runner.py --fast -b sphinx
# wait ~90 secs
/path/to/pypy2-HEAD/bin/pypy -mpyprof2calltree -i /tmp/sphinx.prof -k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment