all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: 78% speed up in CC Mode scrolling.
Date: Thu, 07 Jul 2016 18:17:32 +0200	[thread overview]
Message-ID: <577E809C.2070908@gmx.at> (raw)
In-Reply-To: <20160703182957.GA4923@acm.fritz.box>

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

 > Scrolling through emacs-25's xdisp.c, I get the following timings:
 >    emacs-25 branch: 45.529s
 >    master branch:   25.529s
 >
 > This is a speedup of around 78%.

Thank you.  Using the attached test2.el on frame.c, I get the following
results for emacs -Q (‘foofoo’ scrolls up profiling ‘foo-1’, ‘foobar’
scrolls down profiling ‘bar-1’).

emacs-25:

                Call Count  Elapsed Time  Average Time
foo-1          169         109.15699999  0.6458994082
bar-1          169         113.032       0.6688284023

master:

foo-1          169          45.28100000  0.2679349112
bar-1          169          53.406       0.3160118343

These look even better than yours (I have no idea which formula you used
to derive a speedup of "78%" though).

martin

[-- Attachment #2: test2.el --]
[-- Type: application/emacs-lisp, Size: 663 bytes --]

  parent reply	other threads:[~2016-07-07 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160703182957.GA4923@acm.fritz.box>
2016-07-03 19:27 ` 78% speed up in CC Mode scrolling Eli Zaretskii
2016-07-03 19:39   ` Alan Mackenzie
2016-07-05  9:27     ` Benchmarking (was: 78% speed up in CC Mode scrolling.) Nicolas Richard
2016-07-07 16:17 ` martin rudalics [this message]
2016-07-07 19:20   ` 78% speed up in CC Mode scrolling Alan Mackenzie

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=577E809C.2070908@gmx.at \
    --to=rudalics@gmx.at \
    --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.