Introducing require_bench
Ruby Bootstrapping Analysis Ruby app loading slowly, or never?
Discover bootstrapping issues in Ruby by benchmarking “Kernel.require”
Installation Add this line to your application’s Gemfile:
gem 'require_bench' And then execute:
$ bundle Or install it yourself as:
$ gem install require_bench Usage Require the library where it will be loaded prior to any other requires you want to benchmark.
require 'require_bench' By default this gem does nothing, hacks nothing, and has zero effects.