guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build: Speed up .go compilation.


From: Ludovic Courtès
Subject: Re: [PATCH] build: Speed up .go compilation.
Date: Mon, 11 Jan 2016 22:16:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Taylan Ulrich "Bayırlı/Kammer") skribis:

> Well, my observation while testing guix pull was that before, one would
> get several Guile processes each taking up about 100 MB memory if I
> remember correctly.  (As many processes as one has cores.)  So for dual-
> or quad-core devices we're not making things (much) worse, but maybe
> some single-core devices with little memory will now have problems.

Right, but now the amount of memory consumed is proportional to the
number of modules compiled, whereas it was constant before.

> If it becomes urgent, we could partition the files to be compiled into
> subsets and use a few Guile processes to compile them.  Could actually
> speed things up on multi-core devices, and would still be much faster
> than one-process-per-file on single-core.

Yes.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]