profiling-explorer is a new Python package that provides a browser-based interactive table UI for exploring pstats profiling data generated by Python's built-in profilers (cProfile/profiling.tracing). It improves on the clunky pstats CLI with features like sortable columns, search/filter by filename or function, caller/callee navigation, and dark mode. The post also covers the history of Python's three built-in profilers, including the new sampling-based 'Tachyon' profiler arriving in Python 3.15, and provides quick-start instructions using uv or direct installation.

5m read timeFrom adamj.eu
Post cover image
Table of contents
Python’s built-in profilersGive it a tryFin

Sort: