GNU bug report logs -
#58231
[PATCH 0/2] Checking the 'license' field of packages
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sat, 1 Oct 2022 16:20:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 58231 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> skribis:
> The funny part of this patch is that the license validation expands
> to #t in the majority of cases, meaning that it comes without
> run-time overhead (there is macro-expansion overhead, but I didn’t
> measure it).
A quick measurement of the time taken by the “Computing Guix derivation”
step¹ (most of which is macro expansion) suggests it’s going from ~1m34s
to ~1m44s on my laptop—so roughly a 10% slowdown on this stage.
I guess that’s the price to pay.
That phase has always been very slow though, mostly due to psyntax, and
we need to do something about it anyway.
Ludo’.
¹ I ran ‘time guix time-machine --branch=wip-license-checks --url=$PWD’
and similar for the commit before those changes.
This bug report was last modified 2 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.