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

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

RE: M-x grep significantly slower in emacs 22 (compared to emacs 21)


From: WAROQUIERS Philippe
Subject: RE: M-x grep significantly slower in emacs 22 (compared to emacs 21)
Date: Fri, 28 Sep 2007 22:12:59 +0200

>If you turn off fontification in Emacs 22, in addition to setting
>process-adaptive-read-buffering optimally, how does the time compare
>with Emacs 21?

note: it was not directly straightforward how to turn off font-lock for
grep:
   using global-font-lock-mode had no effect.
I finally managed to turn it off in grep-mode by adding a grep setup
hook.

comparing emacs 21 grep 
     with emacs 22 grep (no font-lock,  process-adaptive-read-buffering
set to nil)
the figures are now more comparable:

  emacs 21 takes about 13 seconds
  emacs 22 takes about 16 seconds.

(grep on the same file, measured 2 times, emacs started with -q).

In summary:
  without font-lock and with optimal process-adaptive-read-buffering,
  emacs 22 grep is about 20% slower than emacs 21.

Thanks
____

This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.

Any views expressed in this message are those of the sender.





reply via email to

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