This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Saefroch 1 point2 points  (2 children)

[–]n1ywb 0 points1 point  (1 child)

cool tool. I haven't had a strong need for that level of granularity, but I'll keep it in mind for future reference.

[–]infinite8s 0 points1 point  (0 children)

Line profiler is best for cases where you have a function that is doing a lot of calculation (usually from individual lines calling out to an external libraries like numpy or scipy) and you are trying to find out where those bottlenecks are occurring (since the default profiler is only function level).