Re: TAP tests take a long time
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig.ringer@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>,
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Robert Haas <robertmhaas@gmail.com>
Date: 2017-04-12T12:23:35Z
Lists: pgsql-hackers
Craig Ringer <craig.ringer@2ndquadrant.com> writes: > With > make PROVE_FLAGS="--timer -j 9" check > I don't see much difference with/without caching initdb results - > saves about 4 seconds, from 74 to 70 seconds, but hard to tell with > the error margins. > So if we're going to do anything, defaulting to parallel prove seems a > good start, and I'm not sure caching initdb results is worth it. Yeah, the results shown in this thread are not very good :-(. I'm suspicious that the results are basically I/O-bound in your environment. There might be some value in the cached-initdb-tree solution for slower, more CPU-bound machines, but cutting out the regprocin overhead would probably do just as much good there. regards, tom lane
Commits
-
Speed up hash_index regression test.
- 4a8bc39b08aa 10.0 landed