News for hackers. Stuff that matters.
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.

Re:Why Ruby? by sams99 on Friday March 22, 2013 @06:59AM (#5422232)