- Modify the
boot.rb
file in your Rails application to reflect the one above. - Run
rails s
- Select all of the lines that include the following format:
(000000.0) foobar required
- Copy those lines, open TextMate and paste into a /new/ document.
- Press
F5
then press1
to sort all lines in the document.
You can now tell which libraries/files take the longest to load.