[MacRuby-devel] [MacRuby] #424: performance regression from ruby 1.8 and 1.9

MacRuby ruby-noreply at macosforge.org
Sun Nov 29 18:46:00 PST 2009

#424: performance regression from ruby 1.8 and 1.9
 Reporter:  jordan.breeding@…        |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:                       
Component:  MacRuby                  |    Keywords:                       

Comment(by lsansonetti@…):

 The new String is for later (0.6).

 I didn't shark your swap benchmark but it creates many temporary objects
 (one String#dup, 2 String#[]) and our object allocator is currently slow,
 which could explain why it's slower than 1.9.

 This should definitely be faster once our Strings are no longer pure CF
 objects, and can benefit of the thread local GC optimization.

Ticket URL: <http://www.macruby.org/trac/ticket/424#comment:15>
MacRuby <http://macruby.org/>

More information about the MacRuby-devel mailing list