Re:Why Ruby?
by nathan_long on Friday March 22, 2013 @06:56AM
(#5422223)
>> 30-50% of the time is still spent in SQL
This. Ruby may be slow compared to compiled languages, but after working on Rails apps where it takes 30 seconds to run the tests, I was delighted to develop a gem using TDD. My gem has 100+ tests, and the suite starts and finishes in less than a second.
Our apps' tests suites are slow mainly because of database access, secondarily because of Rails, with Ruby itself being the smallest factor.
yeah ... we have the exact same problem http://meta.discourse.org/t/how-can-we-speed-up-our-test-sui...
er, Python and PyPy are not in the same ballpark, so I'm not sure what you're talking about.
do you have any real world demos / benches etc that back you up here?
Let me google that for you http://speed.pypy.org
There is plenty of optimisation work left to do, but the vast majority of the issues we encounter can be addresses in either the application or libraries.
Sure, Google Go is much faster, no arguing there. Python and PyPy oth would be ballpark similar to Ruby 2.0 these days from benches I have seen.