Re: TAP tests take a long time
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mithun Cy <mithun.cy@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Robert Haas <robertmhaas@gmail.com>,
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-04-12T15:23:54Z
Lists: pgsql-hackers
Mithun Cy <mithun.cy@enterprisedb.com> writes: > I have tried to optimize the tests maintaining the same coverage we were > able to get with it. This patch looks good to me: on my workstation, it reduces the total runtime of the parallel regression tests from ~20.5 to ~16.5 seconds. I concur that it doesn't look like it would reduce test coverage significantly. It gets rid of a VACUUM FULL and a REINDEX, both of which should be equivalent to an ordinary index build so far as hash is concerned, and it trims the volume of data being run through the test. If no objections, I'll push this soon. regards, tom lane
Commits
-
Speed up hash_index regression test.
- 4a8bc39b08aa 10.0 landed