Closed chookity-pokk closed 10 months ago
You can play with column lengths like:
yappi.get_func_stats().print_all(columns={
0: ("name", 36),
1: ("ncall", 5),
2: ("tsub", 8),
3: ("ttot", 8),
4: ("tavg", 8)
})
I must admit also that it is a bit weird API but not easy to change without backward compact.
Usually ppl. that would like to play with stats, just enumerate them like:
for x in yappi.get_func_stats():
pass
or just save it to a file.
Thanks for the help!
When trying to print out my profile I get the below output which trims off most of the path making it hard to find certain functions without just searching the codebase manually.
The code I am using is just