From: Jeremy Woertink Date: 2007-09-21T08:22:49+09:00 Subject: Re: How fast does your Ruby run? Todd Burch wrote: > SpringFlowers AutumnMoon wrote: >> How fast does your Ruby run? >> >> I got 53648 iterations per second running the following program, >> on an Intel 3.2 GHz HT, Win XP machine: >> >> -------- >> >> C:\> ruby calculate.rb >> 55 >> >> Ruby 1.8.6 patch 0 on i386-mswin32 >> It took 18.64 seconds to run. 53648 iterations per second. >> > > I just ate your lunch. MacPro 3ghz dual duo 2gb ram. > > Ruby 1.8.2 on universal-darwin8.0 > It took 6.383342 seconds to run. 156657 iterations per second. > > (I had to take out RUBY_PATCHLEVEL, as that's not defined, but I suspect > I could have put a begin/rescue/end in around and STILL have eaten your > lunch. LOLOLOLOL > > Todd HAHAH. I love it! awesome. time for my sad reality. I think you just ate my lunch too :( C:\>ruby calculate.rb 55 Ruby 1.8.6 patch 0 on i386-mswin32 It took 22.359 seconds to run. 44724 iterations per second. Intel 2.8 GHz 1.5Gb RAM WinXP ~Jeremy -- Posted via http://www.ruby-forum.com/.