* font-lock has become far too slow
@ 2004-04-27 22:31 John Wiegley
2004-04-27 22:44 ` John Wiegley
0 siblings, 1 reply; 8+ messages in thread
From: John Wiegley @ 2004-04-27 22:31 UTC (permalink / raw)
Starting very recently, font-lock (using jit-lock) has become so slow
that Emacs can no longer keep up with my typing -- on a modern, 1.25
GHz PowerBook G4. I haven't profiled things yet, so does anyone know
what was added that might make things this slow? I compiled with -O3
-fomit-frame-pointer, but still am forced to turn off font-lock mode.
John
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: font-lock has become far too slow
2004-04-27 22:31 font-lock has become far too slow John Wiegley
@ 2004-04-27 22:44 ` John Wiegley
2004-04-28 6:20 ` Eli Zaretskii
2004-04-28 23:07 ` Kim F. Storm
0 siblings, 2 replies; 8+ messages in thread
From: John Wiegley @ 2004-04-27 22:44 UTC (permalink / raw)
John Wiegley <johnw@gnu.org> writes:
> Starting very recently, font-lock (using jit-lock) has become so
> slow that Emacs can no longer keep up with my typing -- on a modern,
> 1.25 GHz PowerBook G4. I haven't profiled things yet, so does
> anyone know what was added that might make things this slow? I
> compiled with -O3 -fomit-frame-pointer, but still am forced to turn
> off font-lock mode.
It looks like it's more than just font-lock. With font-lock off, if I
hold down C-p to move up in the buffer, drawing new pages takes up to
a full second (subjective). And typing past the end of a line has a
hard time keeping up with my typing. Even typing this message is very
laggy. I will have to do some profiling to see what it going on.
Nothing in my configuration has changed very drastically since
February, when things were working quite nicely.
John
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: font-lock has become far too slow
2004-04-27 22:44 ` John Wiegley
@ 2004-04-28 6:20 ` Eli Zaretskii
2004-04-29 22:08 ` John Wiegley
2004-04-28 23:07 ` Kim F. Storm
1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2004-04-28 6:20 UTC (permalink / raw)
Cc: emacs-devel
> From: John Wiegley <johnw@gnu.org>
> Date: Tue, 27 Apr 2004 15:44:36 -0700
>
> It looks like it's more than just font-lock.
Does it happen in "emacs -q --no-site-file"?
> With font-lock off, if I hold down C-p to move up in the buffer,
> drawing new pages takes up to a full second (subjective). And
> typing past the end of a line has a hard time keeping up with my
> typing.
How exactly did you turn off font-lock?
The package elp.el should allow you to profile Emacs on the Lisp
level, so you could see what takes so long to redraw the screen.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: font-lock has become far too slow
2004-04-27 22:44 ` John Wiegley
2004-04-28 6:20 ` Eli Zaretskii
@ 2004-04-28 23:07 ` Kim F. Storm
2004-04-29 22:08 ` John Wiegley
1 sibling, 1 reply; 8+ messages in thread
From: Kim F. Storm @ 2004-04-28 23:07 UTC (permalink / raw)
Cc: emacs-devel
John Wiegley <johnw@gnu.org> writes:
> John Wiegley <johnw@gnu.org> writes:
>
> > Starting very recently, font-lock (using jit-lock) has become so
> > slow that Emacs can no longer keep up with my typing -- on a modern,
> > 1.25 GHz PowerBook G4. I haven't profiled things yet, so does
> > anyone know what was added that might make things this slow? I
> > compiled with -O3 -fomit-frame-pointer, but still am forced to turn
> > off font-lock mode.
>
> It looks like it's more than just font-lock. With font-lock off, if I
> hold down C-p to move up in the buffer, drawing new pages takes up to
> a full second (subjective). And typing past the end of a line has a
> hard time keeping up with my typing. Even typing this message is very
> laggy. I will have to do some profiling to see what it going on.
> Nothing in my configuration has changed very drastically since
> February, when things were working quite nicely.
I just installed a fix for a problem causing excessive redisplay.
Please see if this problem has been fixed as well.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-05-03 21:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27 22:31 font-lock has become far too slow John Wiegley
2004-04-27 22:44 ` John Wiegley
2004-04-28 6:20 ` Eli Zaretskii
2004-04-29 22:08 ` John Wiegley
2004-05-03 19:53 ` Kevin Rodgers
2004-05-03 21:30 ` Stefan Monnier
2004-04-28 23:07 ` Kim F. Storm
2004-04-29 22:08 ` John Wiegley
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.