[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `map-derivation' is too slow for meaningful usage
From: |
Ludovic Courtès |
Subject: |
Re: `map-derivation' is too slow for meaningful usage |
Date: |
Wed, 23 Oct 2024 18:38:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Sergio Pastor Pérez <sergio.pastorperez@outlook.es> skribis:
> On 06-09-2024 12:17, Ludovic Courtès wrote:
>> Perhaps we could try and address those performance issues, and then see
>> if we could come up maybe with a “derivation transformation” framework
>> to make it more approachable?
>
> That sound good to me. Do you have any idea on what could be the bottleneck?
No idea, but the implementation is likely naïve: I wrote once, tested it
on simple cases, but it never got any use beyond that.
I would start by profiling it with (statprof), and then also look at
caching issues (see the ‘GUIX_PROFILING’ environment variable).
HTH!
Ludo’.