Skip to content
Stack trace visualizer.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.hgignore
LICENSE.txt
README.md
calculate_symbol_width.js
flamegraph.py
test_flamegraph.py

README.md

This project visualizes stack traces in hang and spin reports on Mac OS X. It aims to solve the following problem: it's hard to pinpoint quickly a function where the most time is spent in a big stack trace. Big means more than 2 screens long.

The project is heavily inspired by remarkable brendangregg/FlameGraph. But I am implementing everything from scratch in Python, that's why I'm not forking the original project. I'll see how can I contribute my work to Brendan's project.

Usage

There is no proper CLI, you can use something like

python flamegraph.py test_data/Xcode_2013-08-30-203227_Volodymyrs-Mac-mini.hang > test.svg

See Also

Most useful resources:

Other useful resources:

You can’t perform that action at this time.