[OS X Emacs] Aquamacs 1.4 RC2 performance

Sebastjan Trepca trepca at gmail.com
Wed Jun 11 03:44:04 EDT 2008


Tried the nightly builds, still the same.

What I noticed is that find-file is snappy, while ido-mode is not.

This is the traceback:

Debugger entered--Lisp error: (quit)
  completing-read("Find file: ~/dev/proj/" (("dummy" 0.1)) nil nil nil
ido-file-history)
  (catch (quote ido) (completing-read (ido-make-prompt item prompt)
(quote ...) nil nil (prog1 ido-text-init ...) history))
  (setq ido-final-text (catch (quote ido) (completing-read ... ... nil
nil ... history)))
  (let ((minibuffer-local-completion-map ido-mode-map)
(max-mini-window-height ...) (ido-completing-read t)
(ido-require-match require-match) (ido-use-mycompletion-depth ...)
(show-paren-mode nil)) (setq ido-exit nil) (setq ido-final-text (catch
... ...)))
  (while (not done) (ido-trace "\n_LOOP_") (setq ido-exit nil) (setq
ido-rescan t) (setq ido-rotate nil) (setq ido-text "") (if
ido-set-default-item (setq ido-default-item ... ido-set-default-item
nil)) (if ido-process-ignore-lists-inhibit (setq
ido-process-ignore-lists nil)) (if (and ido-use-merged-list ... ...)
(let ... ...)) (cond (ido-keep-item-list ...) (... ...) (... ...) (...
...) (t nil)) (setq ido-rotate-temp nil) (if
ido-process-ignore-lists-inhibit (setq ido-process-ignore-lists t
ido-process-ignore-lists-inhibit nil)) (ido-set-matches) (if (and
ido-matches ...) (setq ido-try-merged-list t)) (let (... ... ... ...
... ...) (setq ido-exit nil) (setq ido-final-text ...)) (ido-trace
"completing-read" ido-final-text) (if (get-buffer
ido-completion-buffer) (kill-buffer ido-completion-buffer)) (ido-trace
"\n_EXIT_" ido-exit) (cond (... ... nil) (... ...) (... ... nil) (...
...) (... ...) (... ... ...) (... ...) (t ... ...)))
  (let ((ido-cur-item item) (ido-entry-buffer ...)
(ido-process-ignore-lists t) (ido-process-ignore-lists-inhibit nil)
(ido-set-default-item t) ido-selected ido-final-text (done nil)
(icomplete-mode nil) ido-cur-list ido-ignored-list (ido-rotate-temp
nil) (ido-keep-item-list nil) (ido-use-merged-list nil)
(ido-try-merged-list t) (ido-pre-merge-state nil) (ido-case-fold
ido-case-fold) (ido-enable-prefix ido-enable-prefix)
(ido-enable-regexp ido-enable-regexp)) (ido-define-mode-map) (setq
ido-text-init initial) (while (not done) (ido-trace "\n_LOOP_") (setq
ido-exit nil) (setq ido-rescan t) (setq ido-rotate nil) (setq ido-text
"") (if ido-set-default-item ...) (if ido-process-ignore-lists-inhibit
...) (if ... ...) (cond ... ... ... ... ...) (setq ido-rotate-temp
nil) (if ido-process-ignore-lists-inhibit ...) (ido-set-matches) (if
... ...) (let ... ... ...) (ido-trace "completing-read"
ido-final-text) (if ... ...) (ido-trace "\n_EXIT_" ido-exit) (cond ...
... ... ... ... ... ... ...)) ido-selected)
  ido-read-internal(file "Find file: " ido-file-history nil nil nil)
  (setq filename (ido-read-internal (or item ...) (or prompt "Find
file: ") (quote ido-file-history) default nil initial))
  (if filename nil (setq ido-saved-vc-mt vc-master-templates) (setq
filename (ido-read-internal ... ... ... default nil initial)))
  (unless filename (setq ido-saved-vc-mt vc-master-templates) (setq
filename (ido-read-internal ... ... ... default nil initial)))
  (let (ido-saved-vc-mt (vc-master-templates ...)
(ido-work-directory-index -1) (ido-work-file-index -1)
(ido-find-literal nil)) (unless filename (setq ido-saved-vc-mt
vc-master-templates) (setq filename ...)) (cond (... ...) (... ...)
(... ...) (... ... ... ... ...) (... ... ...) (... ... ... ... ...
...) (... ... ... ... ... ...) (... ... ... ... ... ...) (filename ...
... ... ... ...)))
  (let ((ido-current-directory ...) filename) (if (or ... ...) (setq
filename t ido-exit ...)) (let (ido-saved-vc-mt ... ... ... ...)
(unless filename ... ...) (cond ... ... ... ... ... ... ... ... ...)))
  ido-file-internal(always-frame)
  ido-find-file()
  call-interactively(ido-find-file)

There is some stuff with VC so I disabled it and got about 50%
increase in speed. But it's still not as snappy as in 1.3.


Sebastjan


On Wed, Jun 11, 2008 at 8:49 AM, David Reitter <david.reitter at gmail.com> wrote:
> On 11 Jun 2008, at 03:10, Avdi Grimm wrote:
>>
>>
>> Without looking at the code I know that it is, at the least, doing an
>> 'ls' or equivalent each time you go up or down directories while
>> finding a file.  Is there any change that might have drastically
>> slowed down directory IO?
>
> I know of no such change: certainly not on the level of Aquamacs.  It's
> possible that a change to Emacs 22 has caused this.
>
> Please investigate.  Enable "Enter Debugger on Quit", then start an
> operation within find-file and ido-mode that will lead to a "wait", then
> press C-g while you wait.  Have a look at what's happening at the moment.
> It may be helpful to do this a couple of times to see if it's consistent.
>
> Also, try the GNU Emacs build from the Aquamacs web site (nightly builds),
> or at least start Aquamacs with -Q.
>
> Btw, I can't reproduce: everything is fast and zippy for me.
>
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor and
> support the Aquamacs Project!
>
>
>
>
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
>



More information about the MacOSX-Emacs mailing list