A terminal Flamegraph viewer.
Flameshow is a terminal Flamegraph viewer.
Flameshow is written in pure Python, so you can install via pip
:
pip install flameshow
View golang's goroutine dump:
$ curl http://localhost:9100/debug/pprof/goroutine -o goroutine.out
$ flameshow goroutine.out
After entering the TUI, the available actions are listed on Footer:
At the moment, Flameshow supports only Golang's pprof dump. I'm actively working on adding more formats. Admittedly, I might not be familiar with every tool and its specifics. So, if you'd like Flameshow to integrate with a tool you love, feel free reach out and drop an issue.
If you want to dive into the code and make some changes, start with:
git clone [email protected]:laixintao/flameshow.git
cd flameshow
pip install poetry
poetry install
This project is proudly powered by textual.