Re: Reducing the runtime of the core regression tests
David Rowley <david.rowley@2ndquadrant.com>
From: David Rowley <david.rowley@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-04-11T00:27:20Z
Lists: pgsql-hackers
On Thu, 11 Apr 2019 at 10:35, Tom Lane <tgl@sss.pgh.pa.us> wrote: > In no particular order, here's what I did: I was surprised to see nothing mentioned about attempting to roughly sort the test order in each parallel group according to their runtime. Shorter running test coming last should reduce the chances of one process doing its last test when all other processes are already done and sitting idle. Of course, this won't be consistent over all hardware, but maybe it could be done as an average time for each test over the entire buildfarm. > Thoughts? Anyone object to making these sorts of changes > post-feature-freeze? I think it's a good time to do this sort of thing. It should be easier to differentiate tests destabilising due to this change out from the noise of other changes that are going in.... since currently, the rate of those other changes should not be very high. Doing it any later in the freeze does not seem better since we might discover some things that need to be fixed due to this. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Re-order some regression test scripts for more parallelism.
- 798070ec058f 12.0 landed
-
Speed up sort-order-comparison tests in create_index_spgist.
- 5874c7055702 12.0 landed
-
Split up a couple of long-running regression test scripts.
- 385d396b807b 12.0 landed
-
Move plpgsql error-trapping tests to a new module-specific test file.
- 6726d8d476b4 12.0 landed
-
Remove duplicative polygon SP-GiST sequencing test.
- 4aaa3b5cf1c3 12.0 landed
-
Remove redundant and ineffective test for btree insertion fast path.
- f72d9a5e7dda 12.0 landed
-
Adjustments to the btree fastpath optimization.
- 074251db6740 11.0 cited
-
Increase timeout in statement_timeout test from 1 second to 2 seconds.
- f1e671a0b485 8.2.0 cited