4 ms·
I read your benchmarks on Ruby, but you didn't list the implementation or version of Ruby you used. I'd guess you used MRI 1.8.X. I decided to benchmark other
by robgleeson 15y ago
I read your benchmarks on Ruby, but you didn't list the implementation or version of Ruby you used.
I'd guess you used MRI 1.8.X.
I decided to benchmark other versions(and implementations) of Ruby.
= jruby 1.6.4 (7.3 seconds)
user system total real
7.388000 0.000000 7.388000 ( 7.349000)
= Rubinius 1.2.4 (Little under 6 seconds)
user system total real
5.940015 0.006878 5.946893 ( 5.842485)
= CRuby 1.9.2 (38 seconds)
user system total real
38.250000 0.090000 38.340000 ( 38.376857)
= CRuby 1.8.7 (Little under 137 seconds)
user system total real
136.960000 0.240000 137.200000 (137.437748)
Thanks!
- th_yc 15y agoExactly -- for a fair comparision, V8 (which has a JIT) should be compared against Rubinius (for Ruby) and PyPy (for Python), which will both be nearly as fast as V8. Of course, it is true that V8 is ubiquitous, whereas Rubinius and PyPy are not -- that is the one majore advantage of javascript.