'Bundle exec' startup takes 20 times longer in JRuby vs MRI -----------------------------------------------------------
Key: JRUBY-5181 URL: http://jira.codehaus.org/browse/JRUBY-5181 Project: JRuby Issue Type: Improvement Affects Versions: JRuby 1.5.3, JRuby 1.5.1 Reporter: Ivo Wever Assignee: Thomas E Enebo In a trivial test application, with only 2 gems in the Gemfile, I noticed the following: u...@machine:/tmp/foo$ time bundle exec foo bundler: command not found: foo Install missing gem binaries with `bundle install` real 0m0.366s user 0m0.310s sys 0m0.060s u...@machine:/tmp/foo$ time jruby -S bundle exec foo bundler: command not found: foo Install missing gem binaries with `bundle install` real 0m4.296s user 0m6.980s sys 0m0.110s The Gemfile contains just 2 gems. This is not due to JRuby startup time: that accounts for at most half a second: u...@machine:/tmp/foo$ time jruby -e "exit" real 0m0.499s user 0m0.460s sys 0m0.070s u...@machine:/tmp/foo$ time ruby -e "exit" real 0m0.017s user 0m0.010s sys 0m0.020s -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email