emacs-devel
[Top][All Lists]
Advanced

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

Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode.


From: Stefan Monnier
Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode.
Date: Sun, 19 Oct 2014 21:41:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> I don't see such a large degradation of performance between 24.3 and
> trunk here.

>    no-odd-xdisp.c:
>    22.3:      415 scrolls, total time = 14.469409942626953s.
>    23.4:      415 scrolls, total time = 14.116178750991821s.
>    24.3:      415 scrolls, total time = 45.48526978492737s.
>    24.4-rc1:  415 scrolls, total time = 44.03023886680603s.
>    25.0.50:   415 scrolls, total time = 45.08613348007202s.

>    xdisp.c:
>    22.3:      415 scrolls, total time = 14.692334413528442s.
>    23.4:      415 scrolls, total time = 14.051368474960327s.
>    24.3:      415 scrolls, total time = 50.858959674835205s.
>    24.4-rc1:  415 scrolls, total time = 58.63706636428833s.
>    25.0.50:   415 scrolls, total time = 59.3416690826416s.

> Tests were done with emacs -Q -nw in an xterm, 80 columns times
> 80 lines.

Which version of cc-mode was used?  The one bundled with the respective
Emacs version or is it always the same version (presumably the
standalone version of CC-mode)?


        Stefan



reply via email to

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