News for hackers. Stuff that matters.
Re:Memray: a memory profiler for Python by erwincoumans on Wednesday April 20, 2022 @05:36PM (#31103361)
I like open source Perfetto UI (formerly Google Chrome about::/tracing) Wrote my own timing trace json export for Python and C++, across threads and processes. The docs have some pointers to creating your own traces with the Tracing SDK.

See https://ui.perfetto.dev

Re:Memray: a memory profiler for Python by knlb2022 on Wednesday April 20, 2022 @06:09PM (#31103726)
I built https://github.com/kunalb/panopticon to export perfetto/chrome compatible traces and also draw arrows between async functions. (I think the arrows are only supported in about://tracing though).
Re:Memray: a memory profiler for Python by sterlinm on Friday April 22, 2022 @10:13PM (#31130742)
Looks like you can use magic-trace with a perfetto based UI. https://github.com/janestreet/magic-trace
Re:Memray: a memory profiler for Python by ogrisel on Wednesday April 20, 2022 @05:47PM (#31103479)
viztracer can create traces for python programs. Not sure about async-io awareness though.
Re:Memray: a memory profiler for Python by ogrisel on Wednesday April 20, 2022 @05:49PM (#31103495)
Actually it has explicit support for async task based reporting:

https://github.com/gaogaotiantian/viztracer#async-support