Re: windows build slow due to windows.h includes - Mailing list pgsql-hackers

From Noah Misch
Subject Re: windows build slow due to windows.h includes
Date
Msg-id 20210922054406.GA4007426@rfd.leadboat.com
Whole thread Raw
In response to windows build slow due to windows.h includes  (Andres Freund <andres@anarazel.de>)
Responses Re: windows build slow due to windows.h includes
List pgsql-hackers
On Tue, Sep 21, 2021 at 12:30:35PM -0700, Andres Freund wrote:
> solution to windows.h being just so damn big, the delightfully named
> WIN32_LEAN_AND_MEAN.
> 
> This reduces the non-incremental buildtime in my 8 core windows VM from 187s to
> 140s. Cross compiling from linux it's
> master:
> real    0m53.807s
> user    22m16.930s
> sys    2m50.264s
> WIN32_LEAN_AND_MEAN
> real    0m32.956s
> user    12m17.773s
> sys    1m52.313s

+1, great win for a one-liner.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Added schema level support for publication.
Next
From: Dilip Kumar
Date:
Subject: Re: row filtering for logical replication