Re: Compilation time with Guile 3.0.3-to-be

2020-06-04 Thread Ludovic Courtès
Hello! Andy Wingo skribis: > On Thu 04 Jun 2020 09:50, Ludovic Courtès writes: [...] >> For the record, the optimizations currently used in (guix build compile) >> are between the new -O0 and -O1: >> >> (cond ((or (string-contains file "gnu/packages/") >> (string-contains file

Re: Compilation time with Guile 3.0.3-to-be

2020-06-04 Thread Ludovic Courtès
Ludovic Courtès skribis: > With the attached patch I’ve run ‘make as-derivation’ (equivalent to > ‘guix pull’) and timed the builds of guix-packages-base.drv (279 files) > and guix-packages.drv (217 files) on my 4-core i7 laptop: Oh, here comes the attached patch. Ludo’. diff --git a/gnu/packa

Re: Compilation time with Guile 3.0.3-to-be

2020-06-04 Thread Katherine Cox-Buday
Ludovic Courtès writes: > So this part is ~2.5 times faster than before, yay! Thank you, Andy! I find a sense of peace working on and with Guix. It seems to me that Guix has the fundamentals correct, and so change feels like progress and not churn. We seem to have the right people, working on t

Re: Compilation time with Guile 3.0.3-to-be

2020-06-04 Thread Andy Wingo
Hi :) On Thu 04 Jun 2020 09:50, Ludovic Courtès writes: > With the attached patch I’ve run ‘make as-derivation’ (equivalent to > ‘guix pull’) and timed the builds of guix-packages-base.drv (279 files) > and guix-packages.drv (217 files) on my 4-core i7 laptop: > > • guix-packages-base.drv: 1m3

Re: Compilation time with Guile 3.0.3-to-be

2020-06-04 Thread Christopher Baines
Ludovic Courtès writes: > Hello! > > Here’s a followup to Andy’s great blog post about the new “baseline > compiler” that’ll be in Guile 3.0.3: > > https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile > > With the attached patch I’ve run ‘make as-derivation’ (equivalent to >

Compilation time with Guile 3.0.3-to-be

2020-06-04 Thread Ludovic Courtès
Hello! Here’s a followup to Andy’s great blog post about the new “baseline compiler” that’ll be in Guile 3.0.3: https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile With the attached patch I’ve run ‘make as-derivation’ (equivalent to ‘guix pull’) and timed the builds of guix-