Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > unbiased benchmark

Reply
Thread Tools

unbiased benchmark

 
 
Sam Ettessoc
Guest
Posts: n/a
 
      03-12-2009
Dear sir,

I would like to share a benchmark I did. The computer used was a
2160MHz Intel Core Duo w/ 2000MB of 667MHz DDR2 SDRAM running MAC OS
10.5.6 and a lots of software running (a typical developer
workstation).

Python benchmark:
HAMBURGUESA:benchmark sam$ echo 1+1 > bench.py
HAMBURGUESA:benchmark sam$ time python bench.py
real 0m0.064s
user 0m0.049s
sys 0m0.013s

Ruby benchmark:
HAMBURGUESA:benchmark sam$ echo 1+1 > bench.rb
HAMBURGUESA:benchmark sam$ time ruby bench.rb
real 0m0.006s
user 0m0.003s
sys 0m0.003s

Can you believe it? Ruby is 10 times faster than Python.

On a side note, when I subscribed to the Python mailing list, it took
less than 200ms before I got the confirmation email. For the Ruby
mailing list, it took over 9000ms! Which is 4500% less performant!

Sam Ettessoc
p.s. I have no affiliation with ruby or python devloppement team.
 
Reply With Quote
 
 
 
 
Aahz
Guest
Posts: n/a
 
      03-12-2009
In article <>,
Grant Edwards <invalid@invalid> wrote:
>On 2009-03-12, Sam Ettessoc <> wrote:
>>
>> Dear sir,

>
>[Rather odd "benchmark" troll elided.]


Looks more like humor than a troll...
--
Aahz () <*> http://www.pythoncraft.com/

"All problems in computer science can be solved by another level of
indirection." --Butler Lampson
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dpreview...unbiased? Uhhh maybe... RichA Digital Photography 6 07-29-2011 12:25 PM
Re: unbiased benchmark Philip Semanchuk Python 3 03-13-2009 10:42 AM
unbiased benchmark Sam Ettessoc Ruby 0 03-12-2009 08:05 PM
processor benchmark on 2621 router sideshowblah Cisco 1 04-17-2004 10:10 PM
ASP.NET performance benchmark ke zhang ASP .Net 1 11-07-2003 03:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57