Can anyone comment on what Ruby performance is like now (compared to ruby 1.8 ideally). I know performance is far from the highest priority for a language like ruby, but it's one of the two problems that led to me stopping using ruby for most things.
things got much faster in 1.9, because ruby started using bytecode internally instead of the embarrassing AST-interpretation thing in was doing before. Expect it to feel on par with python.
The RDoc tests run twice as fast in 2.0.0 and 1.9.3 as in 1.8.7 (the operations the RDoc tests perform don't take advantage of many optimizations in 2.0.0). There's a small speedup between 2.0.0 and 1.9.3, but it's likely at the limit of statistical significance.
The RubyGems tests run about 30% faster in 2.0.0 and 1.9.3 as in 1.8.7 (the tests primarily read and write files so IO is the bottleneck).
5
u/Mjiig Feb 24 '13
Can anyone comment on what Ruby performance is like now (compared to ruby 1.8 ideally). I know performance is far from the highest priority for a language like ruby, but it's one of the two problems that led to me stopping using ruby for most things.