Hacker ApprovedDepartments

perf

Hacker Approved

The most recommended of 9 profilers

Free Linux profiler that people rely on to find where code spends its time, and to build intuition for CPU performance. Its output is raw, and it expects you to already understand the OS.

Free Linux profiler that people rely on to find where code spends its time, and to build intuition for CPU performance. Its output is raw, and it expects you to already understand the OS.

17 people gave an opinion

recommend it
13
criticize it
4
approval share
76%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 13 people recommend itNeeds 10 or more, met.
  • 3.3 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, 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

  • Go-to tool for profiling

    “You can always go through cachegrind or perf and see what happens with your code.”

    Comment from 17 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages”

    “that's the best tool for my jobs”

    Comment from 24 Aug 2026 in “What Is a Harness?”

    “You can also just use perf”

    Comment from 9 Dec 2025 in “Latency Profiling in Python: From Code Bottlenecks to Observability”
  • Simple to use, gets far

    “Perf, instruments and UIForETW are simple enough to use that anyone who can follow the instructions”

    Comment from 3 Jan 2026 in “Profiling with Ctrl-C”

    “perf record + perf report will get you pretty far on Linux”

    Comment from 5 Apr 2026 in “Baby's Second Garbage Collector”
  • Builds intuition for CPU performance

    “Using perf on Linux has been very educational for me to get an intuition for modern CPU performance.”

    Comment from 25 Jul 2026 in “SIMD for Collision”

    “Getting familiar with linux's perf tool is also helpful”

    Comment from 10 Dec 2025 in “Super-Flat ASTs”

What people warn about

Each mark is one comment

  • Assumes you know the OS

    “perf assumes you know how the OS works, and what various syscalls are doing.”

    Comment from 8 Feb 2026 in “Why E cores make Apple Silicon fast”

    “it's not optimized for reality because that knowledge can't be assumed”

    Comment from 8 Feb 2026 in “Why E cores make Apple Silicon fast”

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.

perf compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
perfThis page13476%8—Approved
Java Flight Recorder100100%6—Approved
Instruments9282%5——
Perfetto8280%4——
Python 3.15 sampling profiler6186%3——
See all 9 profilers, ranked

What people said

13 of the 18 comments that mention it, newest first. Each links to the original comment.

“I managed to confirm my suspicions with judicious use of perf”

RecommendsComment from 25 Sep 2026 in “Book review: Is parallel programming hard, and, if so, what can you do about it?”

“that's the best tool for my jobs”

RecommendsComment from 24 Aug 2026 in “What Is a Harness?”

“Using perf on Linux has been very educational for me to get an intuition for modern CPU performance.”

RecommendsComment from 25 Jul 2026 in “SIMD for Collision”

“You can always go through cachegrind or perf and see what happens with your code.”

RecommendsComment from 17 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages”

“perf record + perf report will get you pretty far on Linux”

RecommendsComment from 5 Apr 2026 in “Baby's Second Garbage Collector”

“it's not optimized for reality because that knowledge can't be assumed”

CriticizesComment from 8 Feb 2026 in “Why E cores make Apple Silicon fast”

“perf assumes you know how the OS works, and what various syscalls are doing.”

MixedComment from 8 Feb 2026 in “Why E cores make Apple Silicon fast”

“perf is a raw data dump from the kernel with some lipstick on it”

MixedComment from 8 Feb 2026 in “Why E cores make Apple Silicon fast”

“It is extraordinarily rare to find command-line tools or other low-level tools that are well designed enough to do this.”

CriticizesComment from 18 Jan 2026 in “High-Level Is the Goal”

“Perf, instruments and UIForETW are simple enough to use that anyone who can follow the instructions”

RecommendsComment from 3 Jan 2026 in “Profiling with Ctrl-C”

“GDB and perf are not even in the same league.”

CriticizesComment from 14 Dec 2025 in “RemoveWindowsAI”

“Getting familiar with linux's perf tool is also helpful”

RecommendsComment from 10 Dec 2025 in “Super-Flat ASTs”

“You can also just use perf”

RecommendsComment from 9 Dec 2025 in “Latency Profiling in Python: From Code Bottlenecks to Observability”

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