On Sep 20, 2007, at 16:15, 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 pwn! $ pbpaste | ruby19 55 Ruby 1.9.0 patch 0 on i686-darwin8.10.1 It took 2.838405 seconds to run. 352310 iterations per second. 2.16GHz Core 2 Duo -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars