Skip to content

Improve test performances under postgresql

This merge request contains two changes:

  • The first one allows to use database templates as the storing place for the test databases under postgresql
  • The second one uses the -j switch of pg_dump and pg_restore in order to speed up the restoring of the test cache databases.

Here's the result on the stock module tests (time in seconds):

Single Process Multi Process Template SQLite
Dump 177 158 124 71
Restore 166 136 103 57

Merge request reports