PostgreSQL, Unit Testing April 6, 2016 jess No comments

Speed up your (postgres) unit tests with one weird trick!

My coworker was lamenting to her database administrator friend about our slow-as-tar unit tests. They unearthed a postgres setting that halved our Jenkins build time when disabled. This was the single biggest performance boost to our unit tests after several attempts at optimization. fsync fsync is a PostgreSQL configuration setting that helps with reliability and disaster recovery. It’s […]