Re: increased duration of stats_ext tests with -DCLOBBER_CACHE_ALWAYS

From: Tomas Vondra <tomas(at)vondra(dot)me>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: increased duration of stats_ext tests with -DCLOBBER_CACHE_ALWAYS
Date: 2025-12-03 19:23:39
Message-ID: 322395e3-664c-4718-82a2-f2f8dec60dbb@vondra.me
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/3/25 19:33, Tom Lane wrote:
> I wrote:
>> Yeah, I can imagine that constantly flushing the cached plan for
>> that plpgsql function would be bad. Let me see if I can reformulate
>> that test without using a plpgsql function --- right offhand, it's
>> not obvious why a built-in function wouldn't serve the purpose
>> just as well.
>
> I pushed a change for this. On my Mac laptop, it brings the time
> for stats_ext with -DCLOBBER_CACHE_ALWAYS down to ~8 minutes, from
> I-didn't-have-the-patience-to-wait-but-it-would-have-been-hours.
>

Thanks!

> BTW, I noticed that neither avocet nor trilobite seem to have
> 'use_installcheck_parallel' enabled in their BF config files.
> That results in the installcheck steps taking longer than the
> check step, when they should be the same time or shorter.
> You could shave several hours off the animals' runtime by
> enabling that.
>

Good idea, I enabled that for both animals.

--
Tomas Vondra

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2025-12-03 19:35:07 Re: [PATCH] Add enable_copy_program GUC to control COPY PROGRAM
Previous Message Heikki Linnakangas 2025-12-03 19:12:40 Re: POC: make mxidoff 64 bits