Last active
August 29, 2015 14:02
-
-
Save RoryMacDonald/184bdd281fc4fdfaa483 to your computer and use it in GitHub Desktop.
Put this at the top of your boot.rb file in a Rails application to see the files being loaded on boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
def require(file) | |
puts Benchmark.measure("") { | |
super | |
}.format("%t require #{file}") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment