yarv-dev-en:163
From: Brian Eng <beng jlab.org>
Date: Mon, 21 Aug 2006 10:35:33 -0400
Subject: [yarv-dev-en:163] Re: YARV run of MatrixBenchmark
On Aug 21, 2006, at 8:25 AM, SASADA Koichi wrote: > Good results :) > > Can you try without a following optimization? > -> edit "yarv-build/vm_opts.h" and > > #define OPT_SPECIALISED_INSTRUCTION 1 > > to > > #define OPT_SPECIALISED_INSTRUCTION 0 > > and rebuild. > > This optimization boost simple methods such as Fixnum#+. Recent YARV > turns on this option from default. > > -- > // SASADA Koichi at atdot dot net $ ruby-yarv -v ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [powerpc-darwin8.7.0] YARVCore 0.4.1 Rev: 540 (2006-08-20) [opts: [direct threaded code] [inline method cache] ] #define OPT_SPECIALISED_INSTRUCTION 1 $ ruby-yarv MatrixBenchmark.rb 256 Matrix of dimension 256 times its inverse = identity? true 29.580000 0.260000 29.840000 ( 37.981190) #define OPT_SPECIALISED_INSTRUCTION 0 $ ruby-yarv MatrixBenchmark.rb 256 Matrix of dimension 256 times its inverse = identity? true 45.720000 0.330000 46.050000 ( 60.869100) For reference, default ruby with OS X 10.4 $ ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] $ ruby MatrixBenchmark.rb 256 Matrix of dimension 256 times its inverse = identity? true 144.020000 0.980000 145.000000 (185.637535) -- ML: yarv-dev-en quickml.atdot.net Info: http://www.atdot.net/~ko1/quickml
153 2006-08-20 12:12 [znmeb cesmail.net ] YARV run of MatrixBenchmark 154 2006-08-21 00:19 ┗[znmeb cesmail.net ] 155 2006-08-21 05:42 ┗[ko1 atdot.net ] 156 2006-08-21 06:27 ┗[znmeb cesmail.net ] 157 2006-08-21 06:38 ┗[ko1 atdot.net ] 158 2006-08-21 06:55 ┗[znmeb cesmail.net ] 159 2006-08-21 06:59 ┗[ko1 atdot.net ] 160 2006-08-21 07:06 ┗[ko1 atdot.net ] 161 2006-08-21 10:28 ┗[znmeb cesmail.net ] 162 2006-08-21 21:25 ┗[ko1 atdot.net ] -> 163 2006-08-21 23:35 ┣[beng jlab.org ] 164 2006-08-22 12:19 ┗[znmeb cesmail.net ] 165 2006-08-23 02:42 ┗[ko1 atdot.net ] 166 2006-08-23 12:30 ┗[znmeb cesmail.net ]