* Emacs cvs (23) uses too much CPU with compilation mode
@ 2009-04-16 21:28 Felipe Magno de Almeida
2009-05-09 4:39 ` Felipe Magno de Almeida
[not found] ` <mailman.6869.1241843976.31690.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Felipe Magno de Almeida @ 2009-04-16 21:28 UTC (permalink / raw)
To: Emacs Help
Hi,
I can see emacs uses 80% of CPU of a 600Mhz Celeron for about 2
minutes after it gets the compiler error output.
The compiler only runs for less than 15 seconds.
It happens only when the error message is a bit big. ( > 50Kb).
It is instantaneous with emacs-22.3. I don't have to wait at all.
I'm using multi-tty, but I can reproduce it without server-start. I
also use CEDET, but
the behavior is the same without it.
Sometimes the error message is *much bigger*. And that makes it
unbearable to wait.
Is this behavior known? Is it considered a bug? Is there anything I
can do (aside from not using compilation
mode, or using emacs v22.3)?
Both emacs (emacs-23 and emacs-22.3 are compiled for console and used
through ssh).
--
Felipe Magno de Almeida
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs cvs (23) uses too much CPU with compilation mode
2009-04-16 21:28 Emacs cvs (23) uses too much CPU with compilation mode Felipe Magno de Almeida
@ 2009-05-09 4:39 ` Felipe Magno de Almeida
2009-05-12 9:07 ` Nikolaj Schumacher
[not found] ` <mailman.6869.1241843976.31690.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 7+ messages in thread
From: Felipe Magno de Almeida @ 2009-05-09 4:39 UTC (permalink / raw)
To: Emacs Help
On Thu, Apr 16, 2009 at 6:28 PM, Felipe Magno de Almeida
<felipe.m.almeida@gmail.com> wrote:
> Hi,
>
> I can see emacs uses 80% of CPU of a 600Mhz Celeron for about 2
> minutes after it gets the compiler error output.
> The compiler only runs for less than 15 seconds.
> It happens only when the error message is a bit big. ( > 50Kb).
> It is instantaneous with emacs-22.3. I don't have to wait at all.
> I'm using multi-tty, but I can reproduce it without server-start. I
> also use CEDET, but
> the behavior is the same without it.
> Sometimes the error message is *much bigger*. And that makes it
> unbearable to wait.
> Is this behavior known? Is it considered a bug? Is there anything I
> can do (aside from not using compilation
> mode, or using emacs v22.3)?
>
> Both emacs (emacs-23 and emacs-22.3 are compiled for console and used
> through ssh).
ping?
> --
> Felipe Magno de Almeida
--
Felipe Magno de Almeida
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs cvs (23) uses too much CPU with compilation mode
2009-05-09 4:39 ` Felipe Magno de Almeida
@ 2009-05-12 9:07 ` Nikolaj Schumacher
[not found] ` <a2b17b60905120443x5cd039eckc7d34fa842250c6a@mail.gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Nikolaj Schumacher @ 2009-05-12 9:07 UTC (permalink / raw)
To: Felipe Magno de Almeida; +Cc: Emacs Help
> On Thu, Apr 16, 2009 at 6:28 PM, Felipe Magno de Almeida
> <felipe.m.almeida@gmail.com> wrote:
>> Hi,
>>
>> I can see emacs uses 80% of CPU of a 600Mhz Celeron for about 2
>> minutes after it gets the compiler error output.
>> The compiler only runs for less than 15 seconds.
>> It happens only when the error message is a bit big. ( > 50Kb).
>> It is instantaneous with emacs-22.3. I don't have to wait at all.
>> I'm using multi-tty, but I can reproduce it without server-start. I
>> also use CEDET, but
>> the behavior is the same without it.
>> Sometimes the error message is *much bigger*. And that makes it
>> unbearable to wait.
Here's a guess: The compilation buffer gets fontified.
Either fontification (and setting error markers) takes longer in Emacs
23, or just the progress messages for fontification (because drawing
antialiased fonts is slower).
Test by disabling `font-lock-mode', or setting `font-lock-verbose' to nil.
regards,
Nikolaj Schumacher
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.6869.1241843976.31690.help-gnu-emacs@gnu.org>]
* Re: Emacs cvs (23) uses too much CPU with compilation mode
[not found] ` <mailman.6869.1241843976.31690.help-gnu-emacs@gnu.org>
@ 2009-07-02 20:38 ` daviddisco
2009-07-15 18:31 ` jvc
0 siblings, 1 reply; 7+ messages in thread
From: daviddisco @ 2009-07-02 20:38 UTC (permalink / raw)
To: help-gnu-emacs
On May 8, 9:39 pm, Felipe Magno de Almeida
<felipe.m.alme...@gmail.com> wrote:
> On Thu, Apr 16, 2009 at 6:28 PM, Felipe Magno de Almeida
>
>
>
> <felipe.m.alme...@gmail.com> wrote:
> > Hi,
>
> > I can see emacs uses 80% of CPU of a 600Mhz Celeron for about 2
> > minutes after it gets the compiler error output.
> > The compiler only runs for less than 15 seconds.
> > It happens only when the error message is a bit big. ( > 50Kb).
> > It is instantaneous with emacs-22.3. I don't have to wait at all.
> > I'm using multi-tty, but I can reproduce it without server-start. I
> > also use CEDET, but
> > the behavior is the same without it.
> > Sometimes the error message is *much bigger*. And that makes it
> > unbearable to wait.
> > Is this behavior known? Is it considered a bug? Is there anything I
> > can do (aside from not using compilation
> > mode, or using emacs v22.3)?
>
> > Both emacs (emacs-23 and emacs-22.3 are compiled for console and used
> > through ssh).
>
> ping?
>
> > --
> > Felipe Magno de Almeida
>
> --
> Felipe Magno de Almeida
Check the value of compilation-error-regexp-alist. Remove any
unnecessary regular expressions. It might help.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-15 18:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 21:28 Emacs cvs (23) uses too much CPU with compilation mode Felipe Magno de Almeida
2009-05-09 4:39 ` Felipe Magno de Almeida
2009-05-12 9:07 ` Nikolaj Schumacher
[not found] ` <a2b17b60905120443x5cd039eckc7d34fa842250c6a@mail.gmail.com>
2009-05-12 11:48 ` Nikolaj Schumacher
2009-05-29 1:47 ` Felipe Magno de Almeida
[not found] ` <mailman.6869.1241843976.31690.help-gnu-emacs@gnu.org>
2009-07-02 20:38 ` daviddisco
2009-07-15 18:31 ` jvc
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).