Re: BTScanOpaqueData size slows down tests - Mailing list pgsql-hackers

From David Rowley
Subject Re: BTScanOpaqueData size slows down tests
Date
Msg-id CAApHDvqH+EY30So1tdGbF085q1Zj4gAjpE+b4-YC1WM7Vr2ARQ@mail.gmail.com
Whole thread Raw
In response to BTScanOpaqueData size slows down tests  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Thu, 3 Apr 2025 at 04:21, Andres Freund <andres@anarazel.de> wrote:
> I was mildly
> surprised to see how expensive the new compact attribute checks are.

Is this a fairly deform-heavy workload?  FWIW, before adding that
Assert, I did test to see if there was any measurable impact on the
time it took to run all the tests [1] and I couldn't measure it. I
feel having something to check these are in sync is worthwhile. It did
find bugs during the development of the patch.

David

[1] https://postgr.es/m/CAApHDvpHmUuFY9rtRw6oiG7OTM-o%2BBnODg1m-EynKGbbhSsMzA%40mail.gmail.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Some read stream improvements
Next
From: Peter Smith
Date:
Subject: Re: Question -- why is there no errhint_internal function?