emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: profiler


From: Ihor Radchenko
Subject: Re: MPS: profiler
Date: Fri, 21 Jun 2024 20:02:42 +0000

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>>> What do you mean by blocking? Igc ignores things like
>>> inhibit_garbage_collection.
>>
>> My understanding is that MPS sometimes needs to stop Emacs, just like
>> the traditional GC does. And I was hoping to see how frequently such
>> stopping happens in practice compared to old GC. So, I fired the
>> profiler and saw the above output.
>>
>> Now, the question is whether the profiler output wrt "Automatic GC" on
>> scratch/igc branch represent the moments when Emacs is being properly
>> frozen.
>
> Simply said no.

Then, we should probably not record the times when MPS is active as
"Automatic GC" in the profiler. Maybe simply skip these samples for the
time being (with a FIXME in the code)? That would be more accurate.

> MPS telemetry could perhaps be used, not sure, and it would of course
> need someone to do it :-).

We will eventually need some kind of telemetry to compare traditional GC
vs. MPS. Of course, getting things work reliably is more important at
this stage.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]