> Any comments, suggestions and/or improvements you have are welcome.
Recommended “profiling tricks” would be especially cool!
Hi.. here's one, let me know if there's some other way I should send it.
Emacs can help make .prof files much clearer.
- set up hasktags and M-. so you can jump to any function from it's name
- remove unnecessary columns - use macros to delete fields you don't
need, such as Module, No., %alloc
- use align-regexp to realign the numbers if your long function names
have messed up the layout
- convert the call graph to a folding, colour-coded outline: use a macro
to replace leading spaces with stars and one space, M-x org mode,
shift-tab to cycle between all expanded and all collapsed, tab to
expand/collapse the current function.
- use highlight-regexp and highlight-lines-matching-regexp to mark lines
of interest, numbers above a certain threshold etc. Reduces mental work
when you are flipping back and forth.
Thanks for the glorious ghc!
-Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs