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>
Try running with the --no-ri and --no-rdoc flags, I suspect generating documentation is what is taking the time. ~Jimmy On Apr 30, 2012, at 4:10 PM, Per Lundberg <perlun at gmail.com> wrote: 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 _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120430/4993bd04/attachment.html>
Hehe, that was a prompt reply. :-) Generating the rdoc is taking some time yes, but this was actually before it even managed to start downloading the .gem file. It''s sitting and generating up the rdocs right now as we''re speaking... What is your general perception of IronRuby, performance-wise? Comparable to other platforms or lagging slightly behind? Best regards, Per On Mon, Apr 30, 2012 at 11:14 PM, Jimmy Schementi <jschementi at gmail.com>wrote:> Try running with the --no-ri and --no-rdoc flags, I suspect generating > documentation is what is taking the time. > > ~Jimmy > > > On Apr 30, 2012, at 4:10 PM, Per Lundberg <perlun at gmail.com> wrote: > > 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 > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- mvh, Per Lundberg Arbetsgruppen Fiber till Solf | www.solfnet.fi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120430/ddfa08c5/attachment-0001.html>
Per, I find it quite fast, and the .net integration fascinating. Eduardo Per Lundberg wrote in post #1059008:> Hehe, that was a prompt reply. :-) > > Generating the rdoc is taking some time yes, but this was actually > before > it even managed to start downloading the .gem file. It''s sitting and > generating up the rdocs right now as we''re speaking... > > What is your general perception of IronRuby, performance-wise? > Comparable > to other platforms or lagging slightly behind? > > Best regards, > Per-- Posted via http://www.ruby-forum.com/.