Hacker ApprovedDepartments

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%
Each figure is one person. RecommendsCriticizes

Recommended in 3 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. 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.

Python 3.15 sampling profiler compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
perf13476%8—Approved
Java Flight Recorder100100%6—Approved
Instruments9282%5——
Perfetto8280%4——
Python 3.15 sampling profilerThis page6186%3——
See all 9 profilers, ranked

What people said

6 of the 7 comments that mention it, newest first. Each links to the original comment.

“the profiling looked very nice”

RecommendsComment from 21 Jul 2026 in “Python 3.15's Ultra-Low Overhead Interpreter Profiling Mode – Ken Jin's Blog”

“Profiling.sampling doesn't seem to provide anything similar, it has to run as a separate process”

CriticizesComment from 12 May 2026 in “Profiling.sampling – Statistical Profiler”

“I generally don't like sampling profilers, but the live mode is a neat idea.”

MixedComment from 15 Jan 2026 in “Python: Tprof, a Targeting Profiler”

“features a very good sampling profiler with excellent reporting”

RecommendsComment from 15 Jan 2026 in “Python: Tprof, a Targeting Profiler”

“Neat, they built py-spy into the stdlib”

RecommendsComment from 26 Dec 2025 in “Tachyon: High frequency statistical sampling profiler”

“I don't see any way to enable/disable the profiler from code”

MixedComment from 21 Dec 2025 in “What's New in Python 3.15”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.