From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Reducing opr_sanity test's runtime under CLOBBER_CACHE_ALWAYS |
Date: | 2021-05-10 18:38:05 |
Message-ID: | 707127.1620671885@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2021-05-10 14:06:16 -0400, Tom Lane wrote:
>> I wonder if there's anything we could do to make ResetCatalogCache
>> faster? It wouldn't help much for normal execution of course,
>> but it might do something to bring CCA testing time down out of
>> the stratosphere.
> We could make the hashtables shrink, not just grow...
Maybe ...
> There's also the issue that most people, I assume, run CCA tests with -O0. In
> a quick test that does make a big difference in e.g. ResetCatalogCache(). I
> just added a function specific annotation to optimize just that function and
> the overall time in my test shrank 10% or so.
If they do I think they're nuts ;-). CCA is slow enough already without
hobbling it.
hyrax appears to use the usual -O2, as does/did avocet. Not sure
if we have any other CCA buildfarm members right now.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | John Naylor | 2021-05-10 18:42:08 | Re: PG 14 release notes, first draft |
Previous Message | Tom Lane | 2021-05-10 18:30:52 | Re: Another modest proposal for reducing CLOBBER_CACHE_ALWAYS runtime |