From: Ulrich Mueller <ulm@gentoo.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode.
Date: Mon, 20 Oct 2014 18:55:13 +0200 [thread overview]
Message-ID: <21573.15985.507010.96352@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <jwvtx2yagpl.fsf-monnier+emacs@gnu.org>
>>>>> On Mon, 20 Oct 2014, Stefan Monnier wrote:
> So the performance differences could also come from CC-mode rather
> than from Emacs's C code.
Indeed. If I run all tests with CC Mode 5.32.5 then the large
difference between Emacs 23.4 and 24.3 disappears:
no-odd-xdisp.c:
23.4: 415 scrolls, total time = 45.01029920578003s.
24.3: 415 scrolls, total time = 43.775553941726685s.
xdisp.c:
23.4: 415 scrolls, total time = 48.97985076904297s.
24.3: 415 scrolls, total time = 47.60138463973999s.
My previous numbers using the CC Mode version bundled with Emacs
(i.e., 5.31.8 and 5.32.4 for Emacs 23.4 and 24.3, respectively) were:
no-odd-xdisp.c:
23.4: 415 scrolls, total time = 14.116178750991821s.
24.3: 415 scrolls, total time = 45.48526978492737s.
xdisp.c:
23.4: 415 scrolls, total time = 14.051368474960327s.
24.3: 415 scrolls, total time = 50.858959674835205s.
Again, tests done with emacs -Q -nw in an xterm, 80 columns times
80 lines.
Ulrich
next prev parent reply other threads:[~2014-10-20 16:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-18 18:19 Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode Alan Mackenzie
2014-10-18 20:28 ` Alan Mackenzie
2014-10-19 16:37 ` Ulrich Mueller
2014-10-19 17:49 ` Eli Zaretskii
2014-10-19 18:05 ` Ulrich Mueller
2014-10-20 1:41 ` Stefan Monnier
2014-10-20 7:24 ` Ulrich Mueller
2014-10-20 15:45 ` Stefan Monnier
2014-10-20 16:55 ` Ulrich Mueller [this message]
2014-10-20 7:29 ` martin rudalics
2014-10-20 11:47 ` Alan Mackenzie
2014-10-20 12:05 ` martin rudalics
2014-10-20 12:22 ` Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21573.15985.507010.96352@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.