From: Pierre-Charles David Date: 2003-08-05T16:18:39+09:00 Subject: Re: Parrot SMOP benchmark Harry Ohlsen writes: > I was just reading Dan Sugalski's slides from RubyConf 2002 and > noticed the benchmarks relating to something called "SMOP" at the > end of the article. > > It has Ruby 1.6.6 being the slowest at 206s versus Perl 5.6.0 at > 165s and Python 2.2 at 136s. Has anyone tried running it against > 1.8.0 ... yes, I know it's only been out for a few hours :-). Might > give us a feel for how well some of the performance improvements > work in practice. > > Does anyone know where to get the Ruby code for this SMOP thingy? Here are the results on my machine (P4 @ 1.6 GHz, 512MB, Debian unstable with kernel 2.4.21). Ruby 1.8.0 is freshly compiled using gcc 3.3.1 20030728 (Debian prerelease), the other interpreters are the current Debian unstable versions: ruby 1.6.8 (2003-07-09) [i386-linux] Iterations: 10000000 Estimated ops: 20000000 Elapsed time: 10.052047 M op/s: 1.989644497 ruby 1.8.0 (2003-08-04) [i686-linux] Iterations: 10000000 Estimated ops: 20000000 Elapsed time: 7.29644 M op/s: 2.74106276485519 perl 5.8.0 built for i386-linux-thread-multi Iterations: 100000000 Estimated ops: 200000000 Elapsed time: 66 M op/s: 3.03030303030303 Python 2.2.3+ (#1, Jul 5 2003, 11:04:18) Iterations: 10000000 Estimated ops: 20000000 Elapsed time: 6.38665604591 M op/s: 3.13152921595 -- Pierre-Charles David (pcdavid emn fr) Computer Science PhD Student, �cole des Mines de Nantes, France Homepage: http://pcdavid.net/