Why stare blankly at your terminal window when you can clutter it up with awesome progress bars?
Use Bumbler to track the load progress of your Bundler-based projects! Maybe you'll find a slow gem or two.
gem install bumbler
cd rails-project && bumbler
Add bumbler to your Gemfile if you want to use bundle exec
gem 'bumbler'
Add the following to your .profile, .bash_profile, .zshrc, .wtfrc or whatever shell config you use
export RUBYOPT=-rbumbler/go
Restart your terminal
Run a Bundler-based command, and you should see a spiffy progress bar, such as:
> rails c
[######### ]
( 7/59) 492.04ms loaded data_mapper
> Bumbler::Stats.all_slow_items #will show you the gems which load the slowest.
And then maybe you'll also want to contribute some patches to make your favorite gems load faster.
Set the mininum number of miliseconds before something slow is listed. For example, to show anything >= 10ms:
bumbler -t 10
See how slow your app's initializers are (./config/initializers/*
), as well as
the initializers for any engines you rely on.
bumbler --initializers
Dotum is MIT licensed. See the accompanying file for the full text.