|
|
|
|
Runter
Wizard


Group: Members
Posts: 1,850
Joined: Jun 1, 2006
|
#3 id:43217 Posted Mar 10, 2010, 8:19 am
|
No, I don't believe so.
|
......................... CoralMud project
For once you have tasted flight Ruby you will walk the earth with your eyes turned skywards,
for there you have been and there you will long to return. --
Leonardo Da Vinci Yukihiro Matsumoto
|
|
|
|
Runter
Wizard


Group: Members
Posts: 1,850
Joined: Jun 1, 2006
|
#5 id:43286 Posted Mar 10, 2010, 6:11 pm
|
David Haley said:How interesting that the Java implementation (I'm assuming that JRuby is Java Ruby) is faster than everything but one. I wonder if this is because the Java VM's JIT is superior to whatever people are doing in their other implementations, or if the Java implementation has better algorithms etc.
And yes, it is also interesting that Ruby compiled from source is twice as fast as the distributed version. I wonder why that is. Could it be things like optimization?
Yeah, those are what I thought.
I think JRuby is particularly interesting because of the full access through ruby to the Java library. It's also only 1 of 3 implementations to fully support Rails. (1.8, 1.9, and JRuby.)
|
......................... CoralMud project
For once you have tasted flight Ruby you will walk the earth with your eyes turned skywards,
for there you have been and there you will long to return. --
Leonardo Da Vinci Yukihiro Matsumoto
|
|
Tyche
Wizard


Group: Members
Posts: 1,343
Joined: May 23, 2006
|
#6 id:43288 Posted Mar 10, 2010, 6:29 pm
|
Runter said:No, I don't believe so.
If it's the one-click install then it's using either the free VC6 or MinGW gcc 3.x which are significantly slower than VC8.
Your ubuntu distro versus source is likely related to the Ruby packaged using gcc 3.x, and gcc 4.x being the default Ubuntu compiler??
Gcc 4.x optimization is catching up to MS and Intel compilers.
Without knowing whether these were running on the same hardware, nor which version of compiler, JVM, I can only say there is not enough useful information here to say much of anything.
|
.........................  
For now we see through a glass, darkly; but then face to face: now I know in part; but then shall I know even as also I am known.
|
|
Runter
Wizard


Group: Members
Posts: 1,850
Joined: Jun 1, 2006
|
#7 id:43289 Posted Mar 10, 2010, 6:47 pm
|
They were running on the same hardware. It was the one click installer for vista. It was compiled with ggc 4 in ubuntu.
Intel Core 2 Quad Q6600 (2.4 GHz) CPU and 8 GB of RAM
Ruby Benchmark Suite was used.
Best result for each of 5 iterations was used and does not include startup times to parse and compile classes and methods for the first time.
|
......................... CoralMud project
For once you have tasted flight Ruby you will walk the earth with your eyes turned skywards,
for there you have been and there you will long to return. --
Leonardo Da Vinci Yukihiro Matsumoto
|
|