Use Rack Mini Profiler

You want to keep track of your app’s load times.
Mini Profiler is excellent for this.

Basic setup is super easy.

1. Add the gem and bundle

gem 'rack-mini-profiler'

2. for production

Add to application_controller.rb

before_action do
  # change `current_admin.present?` to any check method you like
  if current_admin.present?
    Rack::MiniProfiler.authorize_request
  end
end

mini profiler

Written on December 1, 2015