Subject: Re: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers

From: Dmitry Gutov <[email-masked]>
Date: Sun, 8 Oct 2023 15:28:02 +0300

On 08/10/2023 14:44, Eli Zaretskii wrote:
>> From: Ihor Radchenko<[email-masked]>
>> Cc: Eli Zaretskii<[email-masked]>,[email-masked]
>> Date: Sun, 08 Oct 2023 11:25:20 +0000
>>
>>> If file-attributes is the main source of consing, it could be the reason
>>> for the line
>>>
>>>     924  36%   Automatic GC
>> No, the main source of consing, according to the memory profiler, is
>> `inhibit-local-variables-p':
> The so-called "memory" profiler doesn't profile memory usage...

It does seem to be recording allocations (in push_handler_nosignal).

Are you making the point that it doesn't record the consing values (i.e. 
the real numbers that affect the time spent in GC)?