[Ironruby-core] Installing gems extremely slow?

Per Lundberg perlun at gmail.com
Mon Apr 30 20:10:33 UTC 2012


Hi!

Is it just me, or is installing gems with IronRuby extremely slow? (at
least compared to other Ruby platforms, like JRuby)

It seems to pretty much halt here:

C:\Work\git\rayak\examples\sinatra>igem install --verbose sinatra
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK

After quite some time, it proceeded and went on with the install as
expected.

With JRuby 1.6.7 it looks like this. Very similar as with the above, but a
*lot* faster. Is there a significant performance bottleneck with the
current IronRuby, or is it caused by some form of timeout or similar?

C:\Work\git\rayak\examples\sinatra>gem install --verbose sinatra
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK
Installing gem sinatra-1.3.2
Downloading gem sinatra-1.3.2.gem
GET http://rubygems.org/gems/sinatra-1.3.2.gem
302 Moved Temporarily
GET http://production.cf.rubygems.org/gems/sinatra-1.3.2.gem
Fetching: sinatra-1.3.2.gem (100%)
200 OK
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/.yardopts
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/AUTHORS
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/CHANGES
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/Gemfile
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/LICENSE
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.de.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.es.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.fr.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.hu.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.jp.rdoc
[ snip ]

Best regards,
Per
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120430/182197ba/attachment.html>


More information about the Ironruby-core mailing list