Python 3.15 will include a new sampling profiler (docs.python.org) 4 points by nicolasp 11mo ago ↗ HN
[–] nicolasp 11mo ago ↗ Key features include:* Zero-overhead profiling: Attach to any running Python process without affecting its performance* No code modification required: Profile existing applications without restart* Real-time statistics: Monitor sampling quality during data collection* Multiple output formats: Generate both detailed statistics and flamegraph data* Thread-aware profiling: Option to profile all threads or just the main thread
1 comment
[ 610 ms ] story [ 2012 ms ] thread* Zero-overhead profiling: Attach to any running Python process without affecting its performance
* No code modification required: Profile existing applications without restart
* Real-time statistics: Monitor sampling quality during data collection
* Multiple output formats: Generate both detailed statistics and flamegraph data
* Thread-aware profiling: Option to profile all threads or just the main thread