help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What's your favourite *under_publicized* editing feature of Emacs?


From: Stefan Monnier
Subject: Re: What's your favourite *under_publicized* editing feature of Emacs?
Date: Thu, 10 Feb 2011 12:24:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I perform 'M-x elp-instrument-package grep'
> and 'M-x elp-instrument-package compilation'. Next I perform
> '(revert-buffer)' and 'M-x elp-results' and get:

> grep-mode                              1           23.906      23.906
> compilation-error-properties           4742        23.047  0.0048601855
> compilation-internal-error-properties  4742        0.094   1.98...e-005
> compilation-get-file-structure         4742        0.016   3.37...e-006
> compilation-mode                       1           0.0           0.0
> compilation-mode-font-lock-keywords    1           0.0           0.0
> compilation-setup                      1           0.0           0.0

Duh!  I completely forgot about it, but yes, there was a clear
performance bug in compilation-error-properties which made it take time
proportional to the buffer size in cases such as M-x grep.
This performance bug is also largely fixed in Emacs-24's compile.el.


        Stefan


reply via email to

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