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.
64 points by brandur 81 days ago brandur.org 38 comments

Summary

Pgtestdb leverages Postgres database templates to achieve rapid database isolation for tests, boasting setup times of approximately 100 ms. This method closely competes with River’s schema-based approach, highlighting an efficient solution for developers.

Comments (38 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