[MacRuby] #1077: Performance of String

MacRuby ruby-noreply at macosforge.org
Sat Jan 8 07:37:56 PST 2011


#1077: Performance of String
----------------------------------+-----------------------------------------
 Reporter:  yasuimao@…            |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:  MacRuby 1.0          
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by yasuimao@…):

 I ran the original test (the one without force_encoding) on 2011/01/08
 nightly.  Now it is faster than 2010/12/17 nightly.
 {{{
 MacRuby 0.9 nightly 2011/01/08
 1548 words - 0.069 0.065 0.068 (File#read)
 8092 words - 0.34  0.34  0.35  (File#read)
 8092 words - 0.27  0.27  0.27  (File#read w/ force_encoding)
 8092 words - 0.38  0.38  0.39  (NSString)
 8092 words - 0.28  0.28  0.29  (NSString w/ force_encoding)
 }}}
 It is still slower than CRuby 1.8.7 or 1.9.2, but this is a great
 improvement.  Thanks for the hard work!

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1077#comment:13>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list