emacs-devel
[Top][All Lists]
Advanced

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

Re: Convert README.org to plain text README while installing package


From: Stefan Monnier
Subject: Re: Convert README.org to plain text README while installing package
Date: Wed, 08 Jun 2022 10:43:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> Which, btw, yet another problem: why does loading Org produce so much
>> garbage?  Can this be kept in check somehow?
>
> AFAIU, so much garbage is produced simply because nobody looked into
> memory usage. It is not the easiest thing to track in Emacs.
>
> Can it be kept in check? Maybe. We need to identify first which parts
> are taking excess memory. org-link-set-parameters appears to be one of
> the bottlenecks. I do not know any others.

w.r.t spending time in the GC, since the GC is run based on the amount
of memory that has been allocated (as opposed to the amount of garbage
generated, for example. which we sadly can't know in advance), the "mem"
profiler (aka `M-x profilter-start RET mem RET`) can be very useful
since it does a sampling-based profiling where the "time" is measured in
number of byte allocated (or some approximation thereof).


        Stefan




reply via email to

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