Re:Scalene: A high-performance, high-precision CPU, GPU, mem...
by embeng4096 on Tuesday October 22, 2024 @10:52AM
(#41914879)
+1 for py-spy. I would love to try out Scalene but the application I have does something funky with pickling for multiprocessing, breaking Scalene in the process (my fault, not Scalene's, I'll be looking into that). Py-spy worked, including catching all the sub-processes. Feeding the py-spy JSON output into https://speedscope.app makes for a very easy way to profile in a time crunch if you don't have time to get familiar with CLI tools or can't install stuff locally but have a browser and internet connection.
[ Parent
| on HN ]
Re:Scalene: A high-performance, high-precision CPU, GPU, mem...
by emeryberger on Tuesday October 22, 2024 @11:02AM
(#41914990)
Scalene author here - please file an issue!
Re:Scalene: A high-performance, high-precision CPU, GPU, mem...
by embeng4096 on Tuesday October 22, 2024 @11:18AM
(#41915151)
I will! I'll try to pare down my customer's code into a minimal example I can post.