emacs-devel
[Top][All Lists]
Advanced

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

Re: async 1.0


From: Teemu Likonen
Subject: Re: async 1.0
Date: Fri, 22 Jun 2012 10:00:49 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

John Wiegley [2012-06-21 16:23:26 -0500] wrote:

> You know, Emacs is suprisingly fast to execute if you use "emacs -batch -Q".
> For example:
>
>     vulcan ~ $ average -n 100 emacs -Q -batch --eval "(+ 10 20)"
>     0.0393513631821

It loads quickly from cache:

    $ time emacs -Q --batch --eval t

    real    0m0.044s
    user    0m0.024s
    sys     0m0.020s


But:

    $ sync; sudo sh -c 'echo 3 >/proc/sys/vm/drop_caches'
    $ time emacs -Q --batch --eval t

    real    0m2.288s
    user    0m0.036s
    sys     0m0.020s



reply via email to

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