QProf
Quick and dirty flamegraph visualizations for profiling ruby projects.
Dependencies
There are two external dependencies, which you probably already have installed:
-
git, to pull FlameGraph -
perl, to callflamegraph.pl
Installation
require 'qprof' or gem 'qprof' in your gemfile
Usage
QProf.call { "...your code..." } # => opens a browser window