[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46100: [PATCH 0/4] Memoize inferior package access.
From: |
Ludovic Courtès |
Subject: |
bug#46100: [PATCH 0/4] Memoize inferior package access. |
Date: |
Thu, 28 Jan 2021 14:16:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ricardo Wurmus <rekado@elephly.net> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> I pushed it as 0f20b3fa2050ba6e442e340a204516b9375cd231.
>
> Thanks!
>
>> I wonder if the other patches improve the situation. If you run the
>> same test case with:
>>
>> GUIX_PROFILING=memoization
>>
>> what hit rates does it show for these spots?
>
> Memoization: 15 tables, 2 non-empty
> guix/inferior.scm:438:2: 403 entries, 403 lookups, 0% hits
> guix/inferior.scm:392:2: 403 entries, 403 lookups, 0% hits
>
> So, I guess we can drop those two patches.
Looks like it. :-)
Closing!
Thanks,
Ludo’.
[bug#46101] [PATCH 3/4] inferior: Memoize inferior package search path access., Ricardo Wurmus, 2021/01/25
[bug#46101] [PATCH 4/4] inferior: Memoize package input field access., Ricardo Wurmus, 2021/01/25