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).
Looks like you can use magic-trace with a perfetto based UI. https://github.com/janestreet/magic-trace
viztracer can create traces for python programs. Not sure about async-io awareness though.
Actually it has explicit support for async task based reporting:
See https://ui.perfetto.dev