Vladimir Sizikov wrote:
Guys,

During investigation of JRUBY-1680, it turned out that JRuby startup
is much slower when rubygems are being loaded.
Simple profiling shows that loading of ruby gems is close to 2 seconds
of *EXTRA* time needed for jruby to start:
http://jira.codehaus.org/secure/attachment/31099/Load_Timings.txt

Few things that are loaded with rubygems seems to be not-needed, or at
least should not be loaded up-front:

- rubygems/security
- rubygems/remote_fetcher

Can we identify why these slow down startup so much? For example, is it the parser? defining the classes? loading some extension?

Yes, we can probably work with RubyGems guys to tweak RubyGems (and we should do that ASAP(!!!) because they want to get a RubyGems 1.0 release out this month) if there's a good clean way to do it. But there's gotta be a reason why we're slow too...which could be the key to app startup performance in other apps.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to