S
sullivanz.pku
This might be a stupid question, but I really wonder if ruby is much
slower than python and perl.
slower than python and perl.
Konstantin said:It _could_ be very slow, if you set out to make it so. Othervise, they
are comparable in speed.
http://shootout.alioth.debian.org/
Austin said:Try it. And ignore anyone who tells you to look at the utterly useless
Alioth shootout. It doesn't model anything real-world and doesn't
actually tell you anything about performance for your problems.
I haven't checked in a while, but they weren't very honest about their
aims last time I checked, either. It's simply a matter of
self-promotion and comparison for Inane Gullibles.
-austin
Austin said:2005. I avoid the shootout like the plague, until you pop up and
pretend that your pet project has any relevance to anything.
No, saying "don't look" says that your aims are bogus, your tests are
worse, your validation is nonsensical to nonexistent, and your
presentation is dishonest.
Saying "don't look" says that the Alioth shootout isn't worth the
server space it takes up. It's certainly not worth the amount of
pimping you do for it.
-austin
And you believe all that without even looking - truly remarkable!
(I suppose there are people who make judgements about Ruby without
looking.)
Austin said:Austin Ziegler wrote:
enough reason to consider the shootout irrelevant:And you believe all that without even looking - truly remarkable!
(I suppose there are people who make judgements about Ruby without
looking.)
I understand that you are upset, but I *had* a look and I think I have
First, everybody can contribute ones program, like that, so what if I want
ruby to look bad, well easy enough, there comes one example into mind (c.f.
http://shootout.alioth.debian.org/debian/benchmark.php?test=3Dbinarytrees&l=
ang=3Druby),
the program does not even run.
Second I have often seen ruby1.9 being used, futile ( so I have my two
favorite words together "futile" and "irrelevant"
to explain that 1.9 is not to be used for such a thing.
I checked a different program, sorry cannot give you the link, from the
shootout, it was written for slow performance period.
And last but not least, performance rarely matters and when it *really*
matters you need a change of magnitude.
And for that to accomplish you have to extend ruby in C or interface with C=
,
which is pretty easy compared to python or - even worse - perl.
So I honestly understand why Austin is upset although, I agree with you,
scientifcly speaking his attitude is wrong.
But I believe his conclusions are correct nontheless.
Cheers
Robert
--
Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui
concerne l'univers, je n'en ai pas acquis la certitude absolue.
- Albert Einstein
------=_Part_20255_25604588.1144180637053--
Austin said:Austin Ziegler wrote:
And you believe all that without even looking - truly remarkable!
(I suppose there are people who make judgements about Ruby without
looking.)
I've looked at your site, nearly every time you've come in posting specific
benchmarks about something or other. I think its current incarnation is by
far the worst. You use certain performance and code characteristics, but
instead of quantifying the actual values in the comparisons (only in the
individual listings) you list them as, X is Y times better/worse than Z.
That tells me next to nothing. 1.1 times faster means very little at 10ms,
but quite a lot at 1hr. While I don't always agree with Austin's attitude
towards this subject, I do agree that the site is rarely useful, and often
causes people to mis-represent a given statistic.
--
=3D=3D=3DTanner Burson=3D=3D=3D
(e-mail address removed)
http://tannerburson.com <---Might even work one day...
------=_Part_19431_10386275.1144181324253--
Robert said:enough reason to consider the shootout irrelevant:
First, everybody can contribute ones program, like that, so what if I want
ruby to look bad, well easy enough,
there comes one example into mind (c.f.
http://shootout.alioth.debian.org/debian/benchmark.php?test=binarytrees&lang=ruby),
the program does not even run.
Second I have often seen ruby1.9 being used, futile ( so I have my two
favorite words together "futile" and "irrelevant"
to explain that 1.9 is not to be used for such a thing.
I checked a different program, sorry cannot give you the link, from the
shootout, it was written for slow performance period.
Tanner said:I've looked at your site, nearly every time you've come in posting specific
benchmarks about something or other. I think its current incarnation is by
far the worst. You use certain performance and code characteristics, but
instead of quantifying the actual values in the comparisons (only in the
individual listings) you list them as, X is Y times better/worse than Z.
That tells me next to nothing. 1.1 times faster means very little at 10ms,
but quite a lot at 1hr.
While I don't always agree with Austin's attitude
towards this subject, I do agree that the site is rarely useful, and often
causes people to mis-represent a given statistic.
I also hear positive comments.
Charles said:Hey, if it makes y'all feel any better, Ruby is still worlds faster than
JRuby (though we're naturally working on that
Austin said:I understand that you are upset, but I *had* a look and I think I have
enough reason to consider the shootout irrelevant: First, everybody
can contribute ones program, like that, so what if I want ruby to look
bad, well easy enough, there comes one example into mind [...] the
program does not even run.
The better example is the Ackermann. On Unix, at least, the stack is
able to be reset with ulimit -- and the Ruby run of Ackermann does not
use this, even though Ruby's stack frame is known to be larger than most
other programming languages.
The Python implementation does some stack manipulation without which the
program won't run *at all* (even with ulimit). One of the Perl
implementations is so compact as to be unreadable -- and it's done so
deliberately.
[...]
So I honestly understand why Austin is upset although, I agree with
you, scientifcly speaking his attitude is wrong. But I believe his
conclusions are correct nontheless.
Scientifically, my attitude toward the Alioth shootout is spot on. It's
not only benchmarking (lies, damned lies and [statistics | benchmarks]),
but it's completely dishonest benchmarking for the reasons that you've
indicated above, and (last I checked) the website claimed far more than
is possible, especially since there is no control factors or proper
statistical analysis.
-austin
Gregory said:On ruby-talk?
Seriously, it's fine that you have this thing and maybe *someone*
finds it useful, but it doesn't seem well recieved on it's list and
the bottom line is it's not very useful for answering the OP's
question.
People have made their points loud and clear. Perhaps you should do
the kind thing and just let it go. If there is a community which
embraces your shootout, discuss it with them.
Robert said:enough reason to consider the shootout irrelevant:
First, everybody can contribute ones program, like that, so what if I want
ruby to look bad, well easy enough, there comes one example into mind (c.f.
http://shootout.alioth.debian.org/debian/benchmark.php?test=binarytrees&lang=ruby),
the program does not even run.
Second I have often seen ruby1.9 being used, futile ( so I have my two
favorite words together "futile" and "irrelevant"
to explain that 1.9 is not to be used for such a thing.
sullivanz said:This might be a stupid question, but I really wonder if ruby is much
slower than python and perl.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.