From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_amcheck: Minor test speedups
Date: Sat, 11 Mar 2023 23:44:39 +0000
Message-ID: <E1pb8tD-0035NA-7b@gemulon.postgresql.org> (raw)
pg_amcheck: Minor test speedups
Freezing the relation N times and fetching the tuples one-by-one isn't that
cheap. On my machine this reduces test times by a bit less than one second, on
windows CI it's a few seconds.
Reviewed-by: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://postgr.es/m/20230309001558.b7shzvio645ebdta@awork3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a4f23f9b3cddb86137a3b1683dcbe49d8b41ea7b
Modified Files
--------------
src/bin/pg_amcheck/t/004_verify_heapam.pl | 33 ++++++++++++++-----------------
1 file changed, 15 insertions(+), 18 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: pg_amcheck: Minor test speedups
In-Reply-To: <E1pb8tD-0035NA-7b@gemulon.postgresql.org>
References: <E1pb8tD-0035NA-7b@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox