Re: make install getting slower

2018-12-07 Thread Peter Eisentraut
On 07/12/2018 18:34, Andres Freund wrote: >> But I think that we realistically could generate ninja files using some >> Perl code not unlike the one that does the catalog .dat to .bki >> transformation. Just a thought at this point. > That seems not great, because we would lose the ability to gene

Re: make install getting slower

2018-12-07 Thread Andres Freund
On December 7, 2018 8:04:10 AM PST, Peter Eisentraut wrote: >On 04/12/2018 21:56, Andres Freund wrote: >> As a comparison, I'd a tree that had the cmake patchset applied >around >> (~1.5 yo tree). Using the ninja generator gets a clean build to >> 0m0.073s, a first install to 0m0.201s and a re

Re: make install getting slower

2018-12-07 Thread Peter Eisentraut
On 04/12/2018 21:56, Andres Freund wrote: > As a comparison, I'd a tree that had the cmake patchset applied around > (~1.5 yo tree). Using the ninja generator gets a clean build to > 0m0.073s, a first install to 0m0.201s and a repeat install to 0m0.170s. Yeah, I've been playing with meson+ninja, a

Re: make install getting slower

2018-12-07 Thread Peter Eisentraut
On 04/12/2018 21:31, Andres Freund wrote: > Obviously this doesn't terribly matter for actual installations, but I > do find it fairly annoying when running regression tests... One possible workaround: https://www.postgresql.org/message-id/5d14d20c-b1f6-69c8-7465-df8adb424...@2ndquadrant.com --

Re: make install getting slower

2018-12-04 Thread Andres Freund
Hi, On 2018-12-04 12:31:48 -0800, Andres Freund wrote: > best of three of > time make -s install INSTALL=/bin/true > > 9.3: 1.53s > 9.4: 1.55s > 9.5: 1.90s > 9.6: 2.10s > 10: 2.45s > 11: 2.81s > master: 2.99s > > Obviously a part of that can be explained by the tree getting bigger, > but that ca

Re: make install getting slower

2018-12-04 Thread Joshua D. Drake
On 12/4/18 12:31 PM, Andres Freund wrote: Hi, best of three of time make -s install INSTALL=/bin/true 9.3: 1.53s 9.4: 1.55s 9.5: 1.90s 9.6: 2.10s 10: 2.45s 11: 2.81s master: 2.99s Obviously a part of that can be explained by the tree getting bigger, but that can't be all of it. It also gets a

make install getting slower

2018-12-04 Thread Andres Freund
Hi, best of three of time make -s install INSTALL=/bin/true 9.3: 1.53s 9.4: 1.55s 9.5: 1.90s 9.6: 2.10s 10: 2.45s 11: 2.81s master: 2.99s Obviously a part of that can be explained by the tree getting bigger, but that can't be all of it. It also gets a bit worse if LLVM is enabled (due to the bi