Scalene: A high-performance, CPU, GPU, and memory profiler for Python(github.com)
github.com
Scalene: A high-performance, CPU, GPU, and memory profiler for Python
https://github.com/plasma-umass/scalene
4 comments
I have to admin that the inclusion of an "AI" feature makes me less likely to use this tool. While it warns that the AI suggestions may not be correct (i.e. they could be hallucinations) there's no warning that using OpenAI will send some or all of your code to a third party. Many developers may realise this but if the tool developers don't highlight privacy concerns, what other issues may be lurking in their code? Developers today are too promiscuous with their users data.
Absolutely. I knew this project before the inclusion of AI and thought higher of it. I was about to compare it to py-spy and the “use ML to make code suggestions” feature is a turnoff.
I tried a few profilers for Python a few months back, including Scalene. Memray seemed to be the best of the lot.
This is super cool, I can't try it right this second but I will the moment I can.