[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow compilation of guile-2.1.x
From: |
Jan Synáček |
Subject: |
Re: Slow compilation of guile-2.1.x |
Date: |
Tue, 29 Nov 2016 12:19:46 +0100 |
On Mon, Nov 28, 2016 at 3:19 PM, Thompson, David
<address@hidden> wrote:
> On Mon, Nov 28, 2016 at 3:47 AM, Jan Synáček <address@hidden> wrote:
>> On Fri, Nov 25, 2016 at 9:36 AM, <address@hidden> wrote:
>> ...
>> Yes, but even a small (about 3 modules and a few 100s LoC) project of
>> mine compiles about 3 times slower.
>
> The compiler now performs many more optimizations. If you want faster
> compile time, turn off optimizations with 'guild compile -O0'. Read
> the output of 'guild compile -Ohelp' for more information.
Manually compiling the main source file with -O0 takes about 3.2s,
without any options it takes about 4.0s. So that seems to help a bit,
thank you. Is there a way to fine tune the optimizations (or any other
compiler options) when running a guile program from a script? I
couldn't find any information about that in the manual.
--
Jan Synáček