Memray: a memory profiler for Python
Tangential question: Does anybody have a good recommendation for a profiler that works well with massively async codebases?<p>My experience has been that the concurrent nature of coroutines can make it hard to reason about what's going on at a particular point in time. If you don't know how many things you're awaiting on at a specific moment (and what potential external stuff they may be interacting with), it's not exactly easy to identify memory usage of codepaths.