GNU bug report logs -
#31853
27.0.50; binding case-fold-search is slow when there are many buffers
Previous Next
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Sat, 16 Jun 2018 01:43:01 UTC
Severity: normal
Found in version 27.0.50
Done: Aaron Jensen <aaronjensen <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Aaron Jensen <aaronjensen <at> gmail.com>
> Date: Sat, 16 Jun 2018 00:39:00 -0700
> Cc: 31853 <at> debbugs.gnu.org
>
> > In a session that has 291 buffers, I get 2.8 microseconds, whereas in
> > fresh "emacs -Q", I get 1.5 microseconds. This is 3 orders of
> > magnitude faster than what you get, and the difference between a large
> > session and a new one is much smaller.
>
> I think I missed a zero on my original fresh emacs report. The report
> of 1ms per for a long running emacs was correct though.
> These should be accurate:
> On emacs -Q I get 2 microseconds.
> On a newly launched emacs w/ my config I get 3 microseconds with 9
> buffers and 1 killed buffer.
> On an emacs I've been running for a bit I get 40 microseconds with 71
> buffers and 237 killed buffers.
In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18522#201 I proposed
a change to set-default that would use FOR_EACH_LIVE_BUFFER. Could
you see if that change helps in your case?
This bug report was last modified 6 years and 330 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.