Created
May 14, 2013 21:01
-
-
Save rubiii/5579521 to your computer and use it in GitHub Desktop.
Generating nice graphs with ruby-prof
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install graphviz | |
| gem install ruby-prof | |
| ruby-prof --mode=wall --printer=dot --file=output.dot fibonacci.rb 25 | |
| dot -T pdf -o output.pdf output.dot | |
| open output.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment