Interactive Performance Profiling Through Flame Graphs
Converts profiling data into interactive SVG flame graphs for performance analysis.
Learn more about FlameGraph
FlameGraph is a collection of Perl scripts that generate interactive SVG visualizations from stack trace data collected by profilers like perf, DTrace, and SystemTap. The x-axis represents the population of stack samples, while the y-axis shows stack depth. Each rectangle represents a function, with width proportional to its presence in profiles. Colors are used for differentiation. The tool supports multiple input formats and profiling sources including CPU profiles, off-CPU analysis, memory allocations, and custom metrics. Flame graphs enable rapid identification of hot code paths and performance bottlenecks across languages including C, C++, Java, Python, Ruby, Node.js, and more. The interactive SVGs allow users to click functions to zoom and search for specific patterns.
Universal Profiling Visualization
Works with profiling data from virtually any language or platform including Linux perf, DTrace, eBPF, Java Flight Recorder, and custom profilers. The tool processes collapsed stack samples into standardized visualizations, making it a universal solution for performance analysis across heterogeneous technology stacks and operating systems.
Interactive SVG Output
Generates self-contained SVG files with embedded JavaScript that enable interactive exploration without additional tooling. Users can click to zoom into specific code paths, search for function names, and hover for details. The lightweight format makes flame graphs easily shareable via email, wikis, or documentation.
Multi-Dimensional Performance Analysis
Beyond CPU profiling, supports differential flame graphs to compare before/after performance, off-CPU analysis for I/O bottlenecks, memory flame graphs for allocation tracking, and custom implementations for network, disk, and latency analysis. Enables comprehensive performance investigation across multiple dimensions of system behavior.
Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
Swag
CLI tool that generates Swagger 2.0 API documentation from Go source code annotations.
Babel
JavaScript compiler transforming modern code into browser-compatible versions via AST.
Mermaid Live Editor
SvelteKit application for authoring and rendering Mermaid diagrams.
jsPDF
Generate PDF documents in-browser with JavaScript APIs.
Cursor
Local code editor with integrated LLM assistance.