Hi Eli,

Eli Zaretskii via web <issues.guix.gnu....@elephly.net> skribis:

> Please don't use "memory profile" as any indication of the Emacs memory 
> usage: it is entirely unrelated to memory.
>
> The Emacs profiler only profiles CPU usage.  It samples the PC register using 
> a special signal (SIGPROF), which is the usual method of sampling CPU in 
> profilers.  For those systems which don't have SIGPROF, it can fall back on 
> sampling the CPU whenever Emacs calls one of the memory allocation functions 
> -- this is called "mem" profiling.
>
> So the "memory" profiles shown here don't show memory usage.

Understood, that’s the same thing as Guile’s ‘gcprof’.  :-)

Thanks for your feedback,
Ludo’.



Reply via email to