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
Post a Comment