Skip to content
Snippets Groups Projects
Commit f66d040f authored by Martin Burchell's avatar Martin Burchell
Browse files

Add hotshot stats script

parent 53e83060
No related branches found
No related tags found
2 merge requests!124Staging,!121Add profiling tools
Pipeline #5842 failed
#!/usr/bin/env python
import hotshot.stats
import sys
stats = hotshot.stats.load(sys.argv[1])
#stats.strip_dirs()
stats.sort_stats('time', 'calls')
stats.print_stats(2000)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment