Pgtestdb's template cloning approach to testing is fast

Postgres database templates make pgtestdb’s per-test database isolation remarkably quick, around 100 ms of setup time, and within spitting distance of River’s schema-based approach.
8 points by peterldowns 84 days ago brandur.org 2 comments

Summary

Pgtestdb utilizes Postgres database templates to achieve rapid database isolation for testing, with setup times around 100 ms. This method offers a competitive alternative to traditional schema-based approaches.

Comments (2 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open