Live data from Hacker News

Memray: a memory profiler for Python

github.com

31–40 of 53 posts

Re: Memray: a memory profiler for Python

#31

Tangential question: Does anybody have a good recommendation for a profiler that works well with massively async codebases? 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 exa…

https://github.com/plasma-umass/scalene check out scalene!

+1 for scalene! I love how it breaks down consumption line-by-line, and it's worked very well in my async/multithreaded usecase

Re: Memray: a memory profiler for Python

#34

Want to chime in to say it's awesome that Bloomberg is releasing this product to the world. I don't think many financial organizations would even consider releasing anything as open source, even if it is as general purpose as this tool. My current one (HFT,MM) wouldn't go for it. It also shows good engineering practices. I'd venture a guess that they are probably one of the better ones in the space. Makes me want to…

They also release a couple other stuff, https://github.com/bloomberg

Re: Memray: a memory profiler for Python

#36

If you need this, why are you using Python? Seriously, can anyone explain that to me?

First and foremost for debugging purposes, e.g. to find memory leaks and such.

Then, it's not a bad thing to optimize memory usage in any language. Memray could be a great tool for the authors of data science libraries, which Python has plenty of. Their average user probably doesn't have a beefy developer's laptop with 64GB of memory at hand.

Re: Memray: a memory profiler for Python

#39

Want to chime in to say it's awesome that Bloomberg is releasing this product to the world. I don't think many financial organizations would even consider releasing anything as open source, even if it is as general purpose as this tool. My current one (HFT,MM) wouldn't go for it. It also shows good engineering practices. I'd venture a guess that they are probably one of the better ones in the space. Makes me want to…

No post body was provided.
Post reply on HN