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

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

RE: grep slows to a crawl


From: Drew Adams
Subject: RE: grep slows to a crawl
Date: Sun, 2 Apr 2006 11:46:25 -0700

    > When I launch a simple Emacs `grep' it starts out fast and then
    > progressively slows to a crawl.
    > In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
    >  of 2006-03-20 on W2ONE

    This snapshot was probably taken before this change:
    2006-03-20  Stefan Monnier  <address@hidden>

        * jit-lock.el (jit-lock-function): Check for the actual defer-timer
        rather than just defer-time, in case defer-time has been changed but
        the timer isn't running yet.
        (jit-lock-deferred-fontify): Correspondingly let-bind defer-timer.

    Please upgrade to a newer version, and try again.

I just downloaded the latest CVS version of jit-lock.el and it is identical
to the version in the build I got from Lennart.

However, I just ran a test of the same long grep command (with ~3900 hits)
in both Emacs 20 and Emacs 22 at the same time. There was no noticeable
difference in execution time, so I guess I was mistaken.

Emacs 22 grep appears to display larger batches of hits at a time than Emacs
20. Perhaps that gave me the impression of poor performance: the display
update intervals are farther apart (but more hits are added per update). I
thought too that the intervals were getting farther and farther apart, but I
don't notice that now. It's also possible that something else running on my
machine at the time of the first tests made them appear slower.

Sorry for the noise. The good news is that I was wrong.





reply via email to

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