all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Varshavchik <mrsam@courier-mta.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 29554@debbugs.gnu.org
Subject: bug#29554: 25.3; 100% CPU spinning, while parsing compile output.
Date: Mon, 04 Dec 2017 14:38:57 -0500	[thread overview]
Message-ID: <cone.1512416337.439370.22442.1004@monster.email-scan.com> (raw)
In-Reply-To: <cone.1512323749.166101.27935.1004@monster.email-scan.com>

Eli Zaretskii writes:

> > From: Sam Varshavchik <mrsam@courier-mta.com>
> > Date: Sun, 03 Dec 2017 12:55:49 -0500
> >
> > Attached is simple makefile with a bunch of echo statements that reproduce
> > the output of an actual compilation. I had to gzip and attach it, in order
> > to avoid the large lines getting messed up by E-mail formatting.
> >
> > Saving this makefile, and hitting F5, or executing "compile" makes emacs
> > spin with 100% CPU utilization for about five seconds, before it starts
> > responding again. Then, going to the compilation output buffer, and M-> to
> > go the end of the buffer, that also pegs emacs for another 4-5 seconds, at
> > 100% cpu.
> >
> > Yup, these are very long lines. But that's the end result from automake and
> > libtool. This is the real world, when it comes to C++ development these
> > days...
>
> Maybe my machine is much faster than yours (although it's a 6-year old
> box), but I don't see such long delays, the responses are sub-second
> here (something like 0.2 sec or so).  Did you visit the file in
> Makefile mode or in some other mode?

It's compile output mode. Save the Makefile. The default F5 binding runs  
the "compile" command, which executes make.

make then processes this makefile, generates the output, and emacs tries to  
parse the output, as output from "make". That's where it spins for me.







  reply	other threads:[~2017-12-04 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03 17:55 bug#29554: 25.3; 100% CPU spinning, while parsing compile output Sam Varshavchik
2017-12-04 16:18 ` Eli Zaretskii
2017-12-04 19:38   ` Sam Varshavchik [this message]
2017-12-05  0:29 ` Noam Postavsky

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=cone.1512416337.439370.22442.1004@monster.email-scan.com \
    --to=mrsam@courier-mta.com \
    --cc=29554@debbugs.gnu.org \
    --cc=eliz@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.