From: Ulrich Mueller <ulm@gentoo.org>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode.
Date: Sun, 19 Oct 2014 18:37:26 +0200 [thread overview]
Message-ID: <21571.59590.312221.336635@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20141018202839.GB5924@acm.acm>
>>>>> On Sat, 18 Oct 2014, Alan Mackenzie wrote:
> I've just repeated the measurement on the Emacs trunk, with emacs -Q. I
> now get these results:
> no-odd-xdisp.c: 500 scrolls, total time = 104.21487808227539s.
> xdisp.c: 500 scrolls, total time = 167.73530864715576s.
> I don't know why there are more scroll operations needed. But the fact
> that scrolling is taking two and a half times longer in the trunk than in
> 24..3 is noteworthy, and possibly disturbing. I'm think I compiled both
> version with the same optimisation level, etc.
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.
(What causes the big slowdown from 23.4 to 24.3, though?)
Ulrich
next prev parent reply other threads:[~2014-10-19 16:37 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 [this message]
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
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=21571.59590.312221.336635@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
/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.