I typically run my test suites on an in-memory SQLite3 DB. However, I have some projects that absolutely require postgres and raise exceptions with SQLite3. In these cases, how can I improve speed?
I have one test config that runs in 2.97s in sqlite vs. 89.71s in postgres. I mean that's crazy.
I have turned fsync off in postgres - that got me from 101.59s to 89.71s.