Re: Cirrus CI (Windows help wanted)

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: Cirrus CI (Windows help wanted)
Дата
Msg-id 20220819011709.GS26426@telsasoft.com
обсуждение исходный текст
Ответ на Re: Cirrus CI (Windows help wanted)  (Andres Freund <andres@anarazel.de>)
Ответы Re: Cirrus CI (Windows help wanted)  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, Aug 18, 2022 at 06:09:39PM -0700, Andres Freund wrote:
> > But look: https://cirrus-ci.com/task/4953593575899136
> 
> Why is the build phase so slow in that image? 12min? That's way slower than
> the windows builds normally.

Because I'd just rebased it, and it's using ccache, which I mentioned is
several times slower for cache misses, and only ~50% faster for cache hits :(
20220701191841.GH13040@telsasoft.com

There's a patch to use depend mode, which would make cache misses less
expensive.

> > => I installed most of the goodies, but deferred running the installers until
> > the image is run, and it starts just as quickly.  It has to run the installer
> > each time, rather than once when building the image.  That's crummy, but it's
> > still 1-2 minutes faster than now.  Maybe for some of those, it's not needed to
> > run an installer at all.  (Like if the installer can be extracted into
> > c:\programfiles).
> 
> I am strongly against that. For one, the amount of traffic that causes with
> the software providers is substantial. For another, the failure rates of
> downloading stuff every time are quite high.

I think you misunderstood.  The installers are *retrieved* when the image is
built, and zipfiles are extracted.  But for .exes, the installation is deferred
until the image is run.

-- 
Justin



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Cirrus CI (Windows help wanted)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Cirrus CI (Windows help wanted)