Re: slowest tap tests - split or accelerate?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2022-01-19T17:14:21Z
Lists: pgsql-hackers
Attachments
- old-hack-to-avoid-duplicate-initdb.patch (text/x-diff) patch
Andres Freund <andres@anarazel.de> writes: > On 2022-01-19 11:54:01 -0500, Tom Lane wrote: >> Me too ;-). As I remarked earlier, I'd tried this once before and >> gave up because it didn't seem to be winning much. But that was >> before we had so many initdb's triggered by TAP tests, I think. > What approach did you use? Do you have a better idea than generating > tmp_install/initdb_template? No, it was largely the same as what you have here, I think. I dug up my WIP patch and attach it below, just in case there's any ideas worth borrowing. >> (Note that all four runs have the "fsync = on" removed from >> 008_fsm_truncation.pl.) > I assume you're planning on comitting that? Yeah, will do that shortly. regards, tom lane
Commits
-
Don't clean initdb files on template creation failure
- 00edb2061fcf 17.0 landed
-
Avoid non-POSIX cp flags
- 1a4fd77db85a 17.0 landed
-
Use "template" data directory in tests
- 252dcb32397f 17.0 landed
-
tests: Consistently use pg_basebackup -cfast --no-sync to accelerate tests.
- 839f9636b374 15.0 landed