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

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

Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs


From: Peter Tury
Subject: Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried)
Date: Wed, 18 Oct 2006 22:02:36 +0200

2006/10/18, Eli Zaretskii <address@hidden>:
> Date: Tue, 17 Oct 2006 23:00:34 +0200
> From: "Peter Tury" <address@hidden>
> Cc: address@hidden
>
> It seems whitespace-buffer slows down my Emacs so terribly: my .emacs
> sets whitespace-global-mode with its all bells and whistles....
> finally I found that if I M-x whitespace-buffer with my critical file
> opened in the buffer (regardless of whitespace-global-mode setting) I
> get back the control after that long time what I wrote last time.
>
> I tried to modify whitespace-buffer and it seems that
> whitespace-buffer-search is so slow. However I see that it is not
> really modified between the fast (old) and slow (new) Emacses... and
> does almost only a re-search-forward. Now I don't have the C sources
> for both (fast and slow) Emacses. Maybe re-search-forward was
> modified?
>
> Can you help based on these info or shall I try to build a test file
> (what is so slow with whitespace-buffer) and send it to you?

It's best if you post the file, thanks.

OK. Here is my receipt:

1. start CVS Emacs with -Q (I used unpatched EmacsW32 of 2006-10-11)
2. in *scratch* eval-last-sexp (load "whitespace.el")
3. unzip and then visit the attached slowtst.el (I drag&dropped it)
4. M-x whitespace-buffer: it took ~20-25 seconds for me! (I have a
1GHz AMD processor; if you have a too good :-) one then copy-paste
slowtst.el's content a few times to make it big enough)

Thanks for your help,
P

Attachment: slowtst.zip
Description: Zip archive


reply via email to

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