4 ms·
In the code I've reviewed, it's not the speed of the db (mysql vs sqlite in-memory, for example), it's the overhead of ActiveRecord itself... tons of ruby objec
by grandalf 11y ago
In the code I've reviewed, it's not the speed of the db (mysql vs sqlite in-memory, for example), it's the overhead of ActiveRecord itself... tons of ruby object creation, GC, etc...
- hinkley 11y agoI think we were down to about 80ms per test on that one. I've since had projects with 9ms per test and it's hard to go back to thinking 80ms is 'good'.