PERF tutorial: Finding execution hot spots | Sand, software and sound
This article is the first of a three part series on the PERF (linux-tools) performance measurement and profiling system. Part 1 demonstrates how to use PERF to
This article is the first of a three part series on the PERF (linux-tools) performance measurement and profiling system. Part 1 demonstrates how to use PERF to identify and analyze the hottest execution spots in a program. It covers the basic PERF commands, options and software performance events. Part 2 introduces hardware performance events and demonstrates how to measure hardware events across an entire application. It defines and discusses several useful rates and ratios for performance assessment and analysis. Part 3 uses hardware performance event sampling to identify and analyze program
related reading
- PERF tutorial: Finding execution hot spots - Sand, software and soundsandsoftwaresound.net
- PERF tutorial: Counting hardware performance events - Sand, software and soundSand, software and soundsandsoftwaresound.net
- abseil / Performance Hintsabseil.io
- Analyzing performance with perf annotatedeveloper.ibm.com
- All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more - Tristan Humethume.ca
- perf-config(1) - Linux manual pageman7.org
- [Java][Profiling] Async-profiler - manual by use cases | JVM/Java profiling and tuningkrzysztofslusarski.github.io
- How to easily measure Floating Point Operations Per Second (FLOPS) | B. Nikolic Software and Computing Blogbnikolic.co.uk
- Firefox Profiler - Documentationprofiler.firefox.com
- abseil / Performance Hintsabseil.io
- Optimize CPU performance with Instruments - WWDC25 - Videos - Apple Developerdeveloper.apple.com
- Concetti di profilazionecloud.google.com