Guest User

Untitled

a guest
Jul 20th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # Profile with cProfile python module and save to output
  2. python -m cProfile -o output.cprof script.py
  3.  
  4. # Transform into tree format for QCacheGrind
  5. pyprof2calltree -i output.cprof -o callgrind.cprof
  6.  
  7. # Open QCacheGrind and load callgrind.cprof file
Add Comment
Please, Sign In to add comment