Subject: Re: bug#51886: 29.0.50; pixel-scroll-mode garbage collects like crazy

From: Eli Zaretskii <[email-masked]>
Date: Tue, 16 Nov 2021 15:37:00 +0200

> From: Po Lu <[email-masked]>
> Cc: [email-masked]
> Date: Tue, 16 Nov 2021 21:17:55 +0800
> 
> > Did you try to figure out which part of the code produces most of the
> > garbage?
> 
> Here's the report from the memory profiler scrolling down (emacs)Top
> with those settings applied in Info:

The so-called "memory profiler" doesn't actually collect memory usage
statistics, so it's useless for this job.

I don't think we have tools ready for the job.  I suggest to
instrument the code involved in this and see what kind of objects get
consed the most, and by which code.