From: "Jim V. Tess" Date: 2006-03-30T10:03:27+09:00 Subject: Re: Speed issue on Windows Wilson Bilkovich wrote: > Try running the built-in sample "cal.rb" with ruby -rprofile. > I don't have two identical boxes right next to each other right now, > but: > WinXP SP2, dual Xeon 2.8GHz, 2GB of RAM: 5.031 seconds. > Ubuntu 5.10, single P4 3.0GHz, 1GB of RAM: 2.110 seconds. I built Ruby with VC++ 2005 from recent source (1.8.4 doesn't compile under VC++ 2005). My times were: Ruby 1.8.4 preview 3: 5.59 seconds Ruby 1.9 w/ VC++ 2005: 1.49 seconds *** ***This isn't a fair comparison, however, because I notice that the call counts are quite different between the two runs--presumably due to source changes since 1.8.4. I have run other comparisons between the two, and I find the VC++ 2005 version to be anywhere from 10 to >100% faster; in particular, bignum arithmetic is over twice as fast. -- Posted via http://www.ruby-forum.com/.