unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Bastian Beischer <bastian.beischer@gmail.com>
Cc: 30367@debbugs.gnu.org
Subject: bug#30367: 26.0.91; CC-Mode: Major slowdown when isearching big C++ file.
Date: Wed, 7 Feb 2018 21:21:45 +0000	[thread overview]
Message-ID: <20180207212145.GA3963__47446.3931088851$1518039087$gmane$org@ACM> (raw)
In-Reply-To: <CAK9AuB-4YBHPMFBeniZ2vaq7uU+6xGqaQ+4gdjkGnWSjS2w0EQ@mail.gmail.com>

Hello, Bastian.

That was quick work.  :-)

On Wed, Feb 07, 2018 at 16:27:35 +0100, Bastian Beischer wrote:
> Hello Alan,

> On Wed, Feb 7, 2018 at 4:24 PM, Alan Mackenzie <acm@muc.de> wrote:

> > Hello, Bastian.

> > In article <mailman.8662.1517913372.27995.bug-gnu-emacs@gnu.org> you
> > wrote:

> > > After updating CC-Mode to the latest version in the standalone mercurial
> > > repository I noticed that searching large C++ files has become a lot
> > > slower than before (factor 20 or so).

> > Thanks for taking the trouble to report this bug.

> > How large is large?  Any chance you could supply me with such a sample
> > C++ file that is slow on searching.  Then, in case something else
> > besides the size is slowing it down, I'll have a "working" file to
> > diagnose the bug with.


> Sure, but ​I will send you the file off-list, since I don't want it to
> become public.
> ​

I've got the file you sent me, thanks very much, and I will treat it as
confidential.

Unfortunately, I cannot reproduce the slowdown in that file, at least,
not starting from emacs-26.0.91 -Q.  I think you've got quite a lot of
non-default minor modes active, and I've a suspicion that we're seeing
some interaction between CC Mode and one of these minor modes, or
possibly some other non-default setting you've got set.

Would you please try to reproduce the problem with emacs -Q, and if you
can't, try to pinpoint which one of your settings/minor modes is the one
which CC Mode is working badly with.

We'll crack this!


> ​Cheers
> Bastian

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2018-02-07 21:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06 10:34 bug#30367: 26.0.91; CC-Mode: Major slowdown when isearching big C++ file Bastian Beischer
2018-02-06 10:40 ` Bastian Beischer
     [not found] ` <mailman.8662.1517913372.27995.bug-gnu-emacs@gnu.org>
2018-02-07 15:24   ` Alan Mackenzie
     [not found]   ` <20180207152435.72040.qmail@mail.muc.de>
2018-02-07 15:27     ` Bastian Beischer
2018-02-07 21:21       ` Alan Mackenzie [this message]
     [not found]       ` <20180207212145.GA3963@ACM>
2018-02-07 21:53         ` Bastian Beischer
2018-02-07 22:26           ` Alan Mackenzie
2018-02-07 22:45             ` Bastian Beischer
2018-02-08 17:25               ` Alan Mackenzie
     [not found]               ` <20180208172558.GA4335@ACM>
2018-02-08 18:42                 ` Alan Mackenzie
     [not found]                 ` <20180208184232.GB4335@ACM>
2018-02-09  9:16                   ` Bastian Beischer
2018-03-20 18:49                     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='20180207212145.GA3963__47446.3931088851$1518039087$gmane$org@ACM' \
    --to=acm@muc.de \
    --cc=30367@debbugs.gnu.org \
    --cc=bastian.beischer@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).