{"repo":"gaogaotiantian/viztracer","free":true,"listed":false,"github":"https://github.com/gaogaotiantian/viztracer","clone":"git clone https://github.com/gaogaotiantian/viztracer.git","description":"A debugging and profiling tool that can trace and visualize python code execution","language":"Python","stars":7721,"topics":["tracer","python3","debugging","profiling","visualization","flamegraph","python","logging"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"VizTracer VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution. The front-end UI is powered by Perfetto. Use \"AWSD\" to zoom/navigate . More help can be found in \"Support - Controls\". 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 Install The preferred way to install VizTracer is via pip Basic Usage Command Line A result.json file will be generated, which you can open with vizviewer vizviewer will host an HTTP server on http://localhost:9001 . You can also open your browser and use that address. If you do not want vizviewer to open the webbrowser automatically, you can use If you just need to bring up the trace report once, and do not want the persistent server, use A VS Code Extension is available to make your life even easier. Add --open to open the reports right after tracing modules and console scripts(like flask ) are supported as well Inline You can also manually start/stop VizTracer in your script as well. Or, you can do it with statement Jupyter If you are using Jupyter, you can use viztracer cell magics. A VizTracer Report button will appear after the cell and you can click it to view","default_branch":null,"files":null,"tree":[],"storefront":"/r/gaogaotiantian","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gaogaotiantian/viztracer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}