carlhuda/bundler — pull request #2080 by BMorearty (2012-08-28 07:24:28+00:00)
Title: Add `bundle profile` CLI command.

This command loads all dependencies and dumps their
load time to STDOUT. It takes an optional list of
groups to be loaded in addition to the default group.

Example output:

```
$ bundle profile
151ms rails
16ms pg
197ms haml
1ms haml-rails
3ms jquery-rails
3ms bcrypt-ruby (LoadError)
21ms sorcery
1ms andand
60ms resque
108ms heroku
41ms unicorn
193ms newrelic_rpm
90ms rest-client
82ms jbuilder
32ms dalli
21ms thin
254ms roadie
31ms rack-mini-profiler
465ms resque_mail_queue
1778ms Total time to require all gems
```