[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cperl + isearch + font-lock-multiline sometimes very slow
From: |
Chong Yidong |
Subject: |
Re: cperl + isearch + font-lock-multiline sometimes very slow |
Date: |
Thu, 19 Oct 2006 23:45:54 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Klaus Zeitler <address@hidden> writes:
> Since approx. last week isearch slows sometimes down to crawling speed in
> cperl files. Looking at top I see that emacs then needs around 30% CPU and
> when I stop isearch, for the next minute emacs eats up even more CPU before
> going back to normal behavior.
> This behavior disappeared when I turned off font-lock. Therefore I checked
> my font-lock settings and found out that setting font-lock-multiline to nil
> also helped. So I'm guessing it has something to do with font-lock or
> jit-lock. How should I proceed now to investigate this further?
I can't reproduce this. Could you provide a detailed recipe and/or
test file?
Also, see if the slowdown goes away if you increase REGEXP_CACHE_SIZE
to (e.g.) 40 in search.c, as Kim suggested.
#define REGEXP_CACHE_SIZE 20
- cperl + isearch + font-lock-multiline sometimes very slow, Klaus Zeitler, 2006/10/19
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Richard Stallman, 2006/10/19
- Re: cperl + isearch + font-lock-multiline sometimes very slow,
Chong Yidong <=
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Klaus Zeitler, 2006/10/20
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/20
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/20
- Re: cperl + isearch + font-lock-multiline sometimes very slow, martin rudalics, 2006/10/21
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/22
- Re: cperl + isearch + font-lock-multiline sometimes very slow, martin rudalics, 2006/10/22
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/22
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Klaus Zeitler, 2006/10/23
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Stefan Monnier, 2006/10/23
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Stefan Monnier, 2006/10/23