Template DB cloning cuts test setup time to ~100 ms, rivaling schema migrations
Brandur measured pgtestdb’s Postgres template‑database cloning against River’s schema‑based test setup. Both hit around 100 ms per test, debunking the myth that new databases are slow, though the schema approach still runs the full suite about 3.5× faster thanks to pooling. Use pgtestdb for quick end‑to‑end tests.