[MacRuby] #1265: Gem loading slow

MacRuby ruby-noreply at macosforge.org
Thu May 5 13:49:21 PDT 2011


#1265: Gem loading slow
------------------------------+---------------------------------------------
 Reporter:  sferik@…          |       Owner:  lsansonetti@…                                          
     Type:  defect            |      Status:  new                                                    
 Priority:  critical          |   Milestone:  MacRuby 0.11                                           
Component:  MacRuby           |    Keywords:  optimization, speed, performance, gem, loading, require
------------------------------+---------------------------------------------
 This ticket started as a footnote to #1262, but @ferrous26 suggested I
 make it a separate ticket.

 Requiring the octokit gem takes over 2 minutes:

 {{{
 require 'rubygems'
 require 'octokit'
 }}}

 {{{
 real    2m43.991s
 user    2m12.706s
 sys     0m5.491s
 }}}

 The same code executes in approximately half a second on MRI 1.9.1 and
 1.9.2.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1265>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list