emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 23.0 is much slower starting than Emacs 22.3


From: Eli Zaretskii
Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3
Date: Fri, 24 Oct 2008 11:26:07 +0200

> Date: Fri, 24 Oct 2008 00:33:01 +0200
> From: "Lennart Borgman" <address@hidden>
> Cc: "David De La Harpe Golden" <address@hidden>, address@hidden, 
>       address@hidden, address@hidden
> 
> (defun test-insert-emacs-lisp-dir ()
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" nil))
>   (message "======================= After cache warm up")
>   (message "Timing insert-file-contents-literally:")
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" t))
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" t))
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" t))
>   (message "Timing insert-file-contents:")
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" nil))
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" nil))
>   (benchmark 1 '(test-insert-dir "c:/emacs/u/070103/emacs/lisp/" nil))
>   (message "Ready"))
> 
> The output was
> 
>   ======================= After cache warm up
>   Timing insert-file-contents-literally:
>   Elapsed time: 5.531000s (0.094000s in 1 GCs)
>   Elapsed time: 5.594000s
>   Elapsed time: 5.828000s (0.093000s in 1 GCs)
>   Timing insert-file-contents:
>   Elapsed time: 9.484000s (0.188000s in 2 GCs)
>   Elapsed time: 8.922000s (0.188000s in 2 GCs)
>   Elapsed time: 8.953000s (0.203000s in 2 GCs)

Thanks.

However, without comparison with Emacs 22, it's hard to interpret
those numbers.




reply via email to

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