viztracer——python代码执行性能分析工具

About

A debugging and profiling tool that can trace and visualize python code execution

Highlights

  • Detailed function entry/exit information on timeline with source code

  • Super easy to use, no source code change for most features, no package dependency

  • Low overhead, probably the fastest tracer in the market

  • Supports threading, multiprocessing, subprocess, async and PyTorch

  • Powerful front-end, able to render GB-level trace smoothly

  • Works on Linux/MacOS/Windows