From: martin rudalics <rudalics@gmx.at>
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: Mon, 20 Oct 2014 14:05:01 +0200 [thread overview]
Message-ID: <5444FA6D.4030403@gmx.at> (raw)
In-Reply-To: <20141020114727.GB2947@acm.acm>
> I got this, until I re-bootstrapped my trunk with full compiler
> optimisation, no debugging set, and no extra checks enabled. Then I got
> pretty much the same results for the trunk as 24.4.
>
> The main reason I did all this, which nobody's commented on so far, was
> to get a handle on how much the `open-paren-in-column-0-is-defun-start',
> now bound to nil at critical places in CC Mode, was actually costing on a
> large C file. On 24.4 you get 22%, on the trunk, 61%. I get 31% in
> 24.4, and 32% in the trunk.
>
> It seems that "instrumentation" is increasing the cost of
> open-paren-etc.
All my builds are configured the same way. So this doesn't explain why
24.4 (which IIUC binds `open-paren-in-column-0-is-defun-start' to nil
too) is four times faster.
martin
next prev parent reply other threads:[~2014-10-20 12:05 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
2014-10-20 7:29 ` martin rudalics
2014-10-20 11:47 ` Alan Mackenzie
2014-10-20 12:05 ` martin rudalics [this message]
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=5444FA6D.4030403@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.