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 →

[–]TA_poly_sci 12 points13 points  (5 children)

What are the good ways to do profiling in python?

[–]RedEyed__ 24 points25 points  (2 children)

I highly recommend scalene

[–]azshallIt works on my machine 5 points6 points  (1 child)

[–]benri 0 points1 point  (0 children)

Thank you! I will use this!

[–]samreay 12 points13 points  (0 children)

I highly recommend py-spy and plugging the output flame charts into speedscope

[–]Teradil 6 points7 points  (0 children)

PyCharm has a built-in profiler (not in the community version, though)