Python 3.15 sampling profiler
Ranked 5 of 9 profilers by recommenders
Built into Python 3.15, it gives sampling profiling with strong reporting and a live mode. Critics note it cannot be switched on and off from code.
Built into Python 3.15, it gives sampling profiling with strong reporting and a live mode. Critics note it cannot be switched on and off from code.
7 people gave an opinion
- recommend it
- 6
- criticize it
- 1
- approval share
- 86%
Recommended in 3 of 13 months
- November 2025: not recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: not recommended
- March 2026: not recommended
- April 2026: not recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: not recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 6 people recommend itNeeds 10 or more, not met.
- 6 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 3 of 13 monthsNeeds 4 or more, not met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Excellent sampling profiler with reporting
“features a very good sampling profiler with excellent reporting”
Comment from 15 Jan 2026 in “Python: Tprof, a Targeting Profiler” “the profiling looked very nice”
Comment from 21 Jul 2026 in “Python 3.15's Ultra-Low Overhead Interpreter Profiling Mode – Ken Jin's Blog”
What people warn about
Each mark is one comment
Cannot enable or disable from code
“I don't see any way to enable/disable the profiler from code”
Comment from 21 Dec 2025 in “What's New in Python 3.15”
Other profilers people recommend
The four most recommended other profilers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| perf | 13 | 4 | 76% | 8 | — | Approved |
| Java Flight Recorder | 10 | 0 | 100% | 6 | — | Approved |
| Instruments | 9 | 2 | 82% | 5 | — | — |
| Perfetto | 8 | 2 | 80% | 4 | — | — |
| Python 3.15 sampling profilerThis page | 6 | 1 | 86% | 3 | — | — |
What people said
6 of the 7 comments that mention it, newest first. Each links to the original comment.
“the profiling looked very nice”
“Profiling.sampling doesn't seem to provide anything similar, it has to run as a separate process”
“I generally don't like sampling profilers, but the live mode is a neat idea.”
“features a very good sampling profiler with excellent reporting”
“Neat, they built py-spy into the stdlib”
“I don't see any way to enable/disable the profiler from code”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.