auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: Anomalous AUCTeX behavior redux


From: Ralf Angeli
Subject: [AUCTeX-devel] Re: Anomalous AUCTeX behavior redux
Date: Sun, 13 Nov 2005 10:04:56 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Copying auctex-devel.  Fullquote intended.

* Robert Knighten (2005-11-13) writes:

> Ralf Angeli writes:
>  > 
>  > Maybe it helps to profile Emacs before you go through the hassle of
>  > preparing a minimal file.  
>
>  > . . .
>
>  > When the slow-down starts, leave Emacs running for
>  > two or three minutes and then type `M-x elp-results RET'.  The output
>  > should help us identify the functions causing the problems.  Then it
>  > might be easier to create a minimal example file.
>
> Here are the results.  For the last 4 minutes there was no input to Emacs
> though CPU utilization of Emacs was shown above 80% the whole while.
> Interestingly enough `M-x elp-results RET' resulted in an immediate reduction
> in the CPU utilization, and it skyrocketed again shortly after I started
> typing text into the buffer.
>
> Function Name                                                Call Count  
> Elapsed Time  Average Time
> ===========================================================  ==========  
> ============  ============
> font-lock-fontify-region                                     965         
> 454.79652999  0.4712917409
> font-lock-default-fontify-region                             965         
> 454.78908900  0.4712840300
> font-lock-fontify-keywords-region                            965         
> 387.94804999  0.4020187046
> font-latex-match-command-with-arguments                      809243      
> 72.671093000  8.980...e-05
> font-latex-match-simple-command                              3334671     
> 54.538795000  1.635...e-05
> font-lock-fontify-syntactically-region                       965         
> 49.040366000  0.0508190321
> font-lock-append-text-property                               6316239     
> 41.067273003  6.501...e-06
> font-latex-match-reference                                   396644      
> 35.014189999  8.827...e-05
> font-latex-script                                            1347155     
> 26.819342999  1.990...e-05
> font-latex-match-function                                    134015      
> 15.227387999  0.0001136245
> font-latex-match-script                                      1348118     
> 13.032097999  9.666...e-06
> font-latex-faces-present-p                                   3258362     
> 12.750845000  3.913...e-06
> font-lock-unfontify-region                                   965         
> 12.383217000  0.0128323492
> font-latex-unfontify-region                                  963         
> 12.372989     0.0128483790
> font-lock-default-unfontify-region                           965         
> 10.219144000  0.0105897865
> font-latex-find-matching-close                               752974      
> 9.8168109999  1.303...e-05
> font-latex-match-bold-command                                89060       
> 7.7444950000  8.695...e-05
> font-latex-forward-comment                                   1651781     
> 7.3406099998  4.444...e-06
> font-latex-match-italic-command                              72183       
> 6.1084339999  8.462...e-05
> font-latex-match-textual                                     62921       
> 4.7428959999  7.537...e-05
> font-latex-match-command-in-braces                           2892        
> 4.590615      0.0015873495
> font-lock-fontify-syntactic-keywords-region                  963         
> 3.8867110000  0.0040360446
> font-latex-syntactic-face-function                           1941557     
> 3.2249749999  1.661...e-06
> font-latex-match-warning                                     49563       
> 2.8013780000  5.652...e-05
> font-latex-match-math-env                                    78208       
> 2.3357940000  2.986...e-05
> font-latex-match-sectioning-3                                18427       
> 2.2509810000  0.0001221566
> font-latex-match-sectioning-2                                18641       
> 2.1532999999  0.0001155141
> font-latex-match-type-declaration                            966         
> 2.0554960000  0.0021278426
> font-latex-match-variable                                    4620        
> 1.6235529999  0.0003514183
> font-latex-match-italic-declaration                          963         
> 1.5248300000  0.0015834164
> font-latex-match-sectioning-1                                7358        
> 1.2210040000  0.0001659423
> font-latex-match-bold-declaration                            963         
> 1.0383150000  0.0010782087
> font-latex-match-math-envII                                  13861       
> 0.9701009999  6.998...e-05
> font-latex-match-sectioning-5                                969         
> 0.8818619999  0.0009100743
> font-latex-match-sectioning-4                                1514        
> 0.7867529999  0.0005196519
> font-latex-match-type-command                                965         
> 0.7531739999  0.0007804911
> font-latex-match-math-command                                963         
> 0.7411950000  0.0007696728
> font-latex-match-sectioning-0                                963         
> 0.7360399999  0.0007643198
> font-latex-match-quotation                                   1134        
> 0.2517340000  0.0002219876
> font-latex-commented-outp                                    7266        
> 0.0434699999  5.982...e-06
> font-latex-match-slide-title                                 963         
> 0.0026559999  2.758...e-06
>

Does the problem go away if you disable `font-latex-do-multi-line'?

By the way, there currently is another thread on auctex at gnu.org (or
gmane.emacs.auctex.general respectively) titled "Extremely slow input"
discussing the same problem.

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]