silverstripe/silverstripe-postgresql — pull request #22 by stojg (2013-06-06 01:47:34+00:00)
Title: NEW: Improve the unittest running time by not truncating tables

When clearing tables this will delete all rows instead of truncating it.

Benchmarking this change by running the full cms and framework test suit changed improved the running time from 32 minutes to 9 minutes.

If truncate functionality is needed for any special cases it should be run as

DB::query("TRUNCATE \"TableToTruncate\"");