A TUI viewer for ghc .prof files
Find a file
2020-03-29 11:49:19 +00:00
app Clean up alignment 2020-03-29 11:49:19 +00:00
src/Profold Document and clean up code 2020-03-01 13:50:55 +00:00
.gitignore Create project 2020-02-29 20:51:27 +00:00
CHANGELOG.md Document and clean up code 2020-03-01 13:50:55 +00:00
LICENSE Create project 2020-02-29 20:51:27 +00:00
package.yaml Bump version to 1.0.0.0 2020-03-01 13:29:21 +00:00
README.md Add proper readme 2020-03-01 13:28:03 +00:00
screenshot.png Add proper readme 2020-03-01 13:28:03 +00:00
Setup.hs Create project 2020-02-29 20:51:27 +00:00
stack.yaml Create project 2020-02-29 20:51:27 +00:00
stack.yaml.lock Create project 2020-02-29 20:51:27 +00:00

profold

This project is a terminal-based viewer for ghc .prof files. These files are the result of profiling with +RTS -p, and can easily be thousands of lines long. This makes it cumbersome to browse through them and find the interesting bits.

Since .prof files have a tree-like structure, an obvious improvement for viewing them is folding and unfolding parts of the tree, which is what profold allows you to do.

profold showing a profile of profold

Usage

Open a file with profold:

$ profold file_to_open.prof

Arrow keys or vim-like keybindings to navigate. Tab to fold or unfold the current item.