4 ms·
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.
by erwincoumans 5y ago
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 https://ui.perfetto.dev
- ogrisel 5y agoviztracer can create traces for python programs. Not sure about async-io awareness though.
- ogrisel 5y agoActually it has explicit support for async task based reporting: https://github.com/gaogaotiantian/viztracer#async-support https://github.com/gaogaotiantian/viztracer#async-support
- knlb2022 5y agoI built https://github.com/kunalb/panopticon 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).
- sterlinm 5y agoLooks like you can use magic-trace with a perfetto based UI. https://github.com/janestreet/magic-trace https://github.com/janestreet/magic-trace