Memray: Python memory profiler
bloomberg.github.io
bloomberg.github.io
I don't use it often, but when I need to I'm glad it's a part of my toolbox!
From Memray:
> Traces every function call so it can accurately represent the call stack, unlike sampling profilers.
Memray: a memory profiler for Python - https://news.ycombinator.com/item?id=31102089 - April 2022 (48 comments)
My favorite feature is the jupyter integration. Just decorate a cell with %%memray_flamegraph
I'd really like a version of this to spit out a csv or something for going straight into making plots
Miner's layday, stranger to blue water.