Re: headerscheck ccache support

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: headerscheck ccache support
Дата
Msg-id 202511281342.nx2cxkvcvtwc@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: headerscheck ccache support  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
On 2025-Nov-28, Peter Eisentraut wrote:

> But this doesn't seem to buy very much.  The overhead of the shell script to
> write out the test files appears to become significant compared the the
> actual compile commands.

If you wanted to save some shell execution time, you could move the `tr`
calls to the bottom of the loop to avoid doing it for files that the
`if` block is going to discard.  But is that significant?  I doubt it.

(I didn't quite understand why you use printf instead of echo, given
that both are shell builtins in any case.)

I think parallelism is also going to win in the case where the compiles
are not cached.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



В списке pgsql-hackers по дате отправления: