tprof is a new targeting profiler for Python 3.12+ that measures performance of specific functions rather than entire programs. Unlike traditional profilers that add overhead across the whole codebase, tprof uses sys.monitoring to track only designated target functions, providing quick command-line reports with timing

3m read timeFrom adamj.eu
Post cover image
Table of contents
Benchmark with comparison modePython APIHow it worksFin
1 Comment

Sort: