4 ms·
>> 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
by nathan_long 14y ago
>> 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.
- sams99 14y agoyeah ... we have the exact same problem http://meta.discourse.org/t/how-can-we-speed-up-our-test-suite/3531 http://meta.discourse.org/t/how-can-we-speed-up-our-test-sui...