Last Updated: February 25, 2016
·
724
· oswaldoferreira

MiniProfiler - A simple and efficient performance test

It will auto-enable a little time-load panel with performance information on your rails development server.

echo "gem 'rack-mini-profiler'" >> Gemfile && bundle

Testing time-load of a certain block (optional):

Rack::Miniprofiler.step(“fetch projects”) do
     @projects.all
end