SamSaffron / flamegraph

Flamegraph profiling support for Ruby 2.0
MIT License
382 stars 36 forks source link

Color functions not gems #20

Open kapcod opened 7 years ago

kapcod commented 7 years ago

Hey, I want to profile my own methods not gems, but flamegraph colors all of my project code with same color, can this be changed? E.g. color by methods and not gems.

I forked the repo and added filtering options, but can't find where coloring decision happens.

thisduck commented 7 years ago

@crazyshot This was adding in PR #21 you can now add ?by_method=1 to the url and it will color by method instead of by gem.