|
|
|
|
|
by itamarst
1813 days ago
|
|
Scalene is pretty neat, yes. The memory profiling, however, is more useful when you're trying to find memory leaks. This is a common scenario in web apps, say. If your goal is to find peak memory usage, which is what you care about in data processing batch processes, Fil is probably a better choice (https://pythonspeed.com/fil). |
|
On the time profiling side I highly recommend py-spy and pyflame (a little less updated).