[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock and syntax-ppss
From: |
Sam Steingold |
Subject: |
Re: font-lock and syntax-ppss |
Date: |
01 Nov 2001 16:26:51 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
> * In message <address@hidden>
> * On the subject of "font-lock and syntax-ppss"
> * Sent on Sun, 28 Oct 2001 01:54:58 -0400
> * Honorable "Stefan Monnier" <monnier+gnu/address@hidden> writes:
>
> "every once in a while" do
>
> M-x elp-results RET
on a 400MHz nt4sp6 box (random activity: mail, elisp, C)
Function Name Call Count Elapsed Time Average Time
============== ========== ============ ============
font-lock-ppss 3665 110.086 0.0300371077
syntax-ppss 3665 17.128999999 0.0046736698
on Solaris 2.5.1 (large C file, font-lock on)
Function Name Call Count Elapsed Time Average Time
============== ========== ============ ============
font-lock-ppss 440 316.355345 0.7189894204
syntax-ppss 418 3.814958 0.0091266937
I must admit that I am not sure I quite understood your message.
I noticed that Emacs is noticeably slow when indenting a large C file
(~20,000 lines). It takes more than a second before Emacs responds to
TAB (whether font-lock is on or off).
Also, it appears that c-indent-region is no faster than hitting TAB
several times.
--
Sam Steingold (http://www.podval.org/~sds)
Keep Jerusalem united! <http://www.onejerusalem.org/Petition.asp>
Read, think and remember! <http://www.iris.org.il> <http://www.memri.org/>
Never let your schooling interfere with your education.
- Re: font-lock and syntax-ppss,
Sam Steingold <=