[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building the web site is slow
From: |
Ludovic Courtès |
Subject: |
Re: Building the web site is slow |
Date: |
Fri, 27 Nov 2020 11:27:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:
> On Mon, Nov 23, 2020 at 11:46:08PM +0100, pelzflorian (Florian Pelz) wrote:
>> It is funny, when I try to profile via
>>
>> cd ~/src/guix-artwork/website
>> guix install -p haunt-profile guile-syntax-highlight guile-commonmark haunt
>> LC_ALL=en_US.utf8 \
>> GUILE_LOAD_PATH=haunt-profile/share/guile/site/3.0:$GUILE_LOAD_PATH \
>> /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2/bin/guile
>> scheme@(guile-user)> ,profile ((@ (haunt ui) haunt-main) "haunt" "build")
>>
>> it crashes, but only when using ,profile. I will investigate
>> tomorrow.
>
> The crash is prevented by deleting ~/.cache/guile and additionally
> launching guile with --no-auto-compile. I wonder if a compiled file
> even had the right translation or if the macro-expanded translation
> would be part of the compiled file.
Oh I hadn’t realized everything was interpreted. Compiling the web site
may improve things a bit already.
Thanks for investigating!
Ludo’.