Flame graphs are a visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately. They can be generated using my open source programs, which create interactive SVGs. See the Updates section for other implementations. Recently I've been helping with d3-flame-graph. The x-axis shows the stack profile population, sorted alphabetically (it is not the passage of time), and the y-axis shows stack depth, counting from zero at the bottom. Each rectangle represents a stack frame. The wider a frame is is, the more often it was present in the stacks. The top edge shows what is on-CPU, and beneath it is its ancestry. The colors are usually not significant, picked randomly to differentiate frames. Flame charts were first added by Google Chrome's WebKit Web Inspector (bug). While inspired by flame graphs, flame charts put the passage of time on the x-axis instead of the alphabet.

Features

  • Flame graphs can be generated from any profile data that contains stack traces
  • Once you have a profiler that can generate meaningful stacks, converting them into a flame graph is usually the easy step
  • Flame graphs are a visualization for sampled stack traces, which allows hot code-paths to be identified quickly
  • Flame Graphs can work with any CPU profiler on any operating system
  • With the flame graph, all the data is on screen at once, and the hottest code-paths are immediately obvious as the widest functions
  • DTrace can be used to profile on-CPU stack traces on systems that support it

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Flame Graphs

Flame Graphs Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Flame Graphs!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Perl

Related Categories

Perl Data Visualization Software

Registered

2021-05-24