Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Profile with cProfile python module and save to output
- python -m cProfile -o output.cprof script.py
- # Transform into tree format for QCacheGrind
- pyprof2calltree -i output.cprof -o callgrind.cprof
- # Open QCacheGrind and load callgrind.cprof file
Add Comment
Please, Sign In to add comment