How to benchmark gems loading time in rails apps -



How to benchmark gems loading time in rails apps -

in rails app there gemfile bundle uses satisfy application required gems, when adding many gems -which bad thing- application slower while running rails/rake command. if want rid of slow gems may want know first slow gems remove don't need in app.

so how spot slow gems?,i thought may create kind of monkey patch bundler display each gem , loading time/memory usage table, help getting rid of gems.

note: know there solutions slowness spork , so, need app lighter first before using them.

as damien roche mentioned solution utilize bumbler gem

$ gem install bumbler $ cd path/to/project $ bumbler

ruby-on-rails

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -