LodeHQ
AI news for people who shipFree, by email

Dev · brandur.org · Thursday, 30 July 2026

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.

Read the source: brandur.org ↗In the 30 July issue →