proomt

Search

Search posts, papers, and topics

Hall of Fame

Hall of FameBrendan Gregg201122 min readintermediate

Flame Graphs

Summary

Flame Graphs are a visualization created by Brendan Gregg to quickly identify frequent code-paths in profiled software by representing stack traces as interactive SVG charts. They display stack profile population on the x-axis and stack depth on the y-axis, with frame width indicating frequency.

  • Flame Graphs visualize stack traces, with the x-axis showing stack population (alphabetical, not time) and y-axis showing stack depth.
  • Frame width indicates how often a function was present in the profiled stacks, highlighting hot code paths.
  • They are interactive, allowing users to hover for details, click to zoom, and search for specific functions.
  • Multiple types exist, including CPU, Memory, Off-CPU, and Differential Flame Graphs, for various performance analyses.

Any engineer performing performance analysis needs to understand and utilize Flame Graphs to efficiently diagnose bottlenecks in complex software systems.

9/10

Related reading

  1. TanStack Charts Introduced with a Framework Agnostic Grammar of Graphics for TypeScript

    TanStack Charts α is a framework‑agnostic, TypeScript‑first charting library that implements a grammar‑of‑graphics API (marks, scales, channels, transforms, layers). It ships as a single npm package with adapters for React, Preact, Vue, Solid, Svelte, Angular, Lit, and vanilla DOM, and can run on server or client. The runtime is headless; type inference stays tied to the source row, so each mark…

    InfoQinfoq.com2 minrelease
  2. Tracing algorithms through web specifications

    The post introduces two tools for navigating the call graph of web specifications: the CLI `webspec-index trace` command and the WebSpec Tracer Firefox extension. It demonstrates how detail flags give a high‑level shape of routes and how the extension lets you interactively build accurate markdown traces for debugging.

    Mozilla Automation Teamfarre.se9 min
  3. The Shadows Lurking in the Equations – Underwater Islands

    The article introduces FuzzyGraph, a web tool that visualizes equations as error heatmaps (fuzzy/non‑binary mode) instead of the classic binary “exact‑equals” plots. By showing regions of high error (black‑hole shadows) and low error (underwater islands), the author argues that fuzzy graphs reveal mathematical features invisible to conventional graphing tools.

    Hacker News front pagegods.art4 minHN7013