emacs-devel
[Top][All Lists]
Advanced

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

Re: A proposal for the future of open-paren-in-column-0-is-defun-start.


From: Stefan Monnier
Subject: Re: A proposal for the future of open-paren-in-column-0-is-defun-start.
Date: Tue, 07 Apr 2020 09:47:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Actually, we had a few detailed profiles posted which show many levels
>> below "somewhere in jit-lock", at least for CC Mode.
> When comparing -O0 with -O3 builds I noticed one additional difference
> with simple repetitions of 'scroll-up' in xdisp.c.  The optimized build
> spent 25% of the CPU time consumed collecting garbage, the debug build
> 42%.  Does an -O0 build produce more garbage or is it collecting slower?

I'd guess that it's just the fact that the GC spends almost all its time
manipulating Lisp_Object values, so it is more affected by inlining of
those low-level functions that extract the tag and things like that.


        Stefan




reply via email to

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