Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
module Kernel
alias_method :original_require, :require
def require(path)
time = ::Time.now
original_require(path).tap do
puts "%3.6f\t#{path}" % (Time.now - time)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment