cprofilev
cprofilev copied to clipboard
Added functionality to show stats for function defined in specific location
Hi,
With this PR I have added a query argument 'func_loc' which allows you to filter by the filename and line number where a function is defined, in addition to the function name. Also, in the main stats (print_stats) the filename:lineno part gets 'linkified' appropriately.
It's probably easier if you just check it out yourself as it's pretty self-explanatory once you see what it does.
Let me know what you think and thanks for this useful tool which makes cProfile a whole load easier to use.
Regards,
Eric
#22 should address this as well, I think.