emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs repository benchmark: bzr and git


From: dhruva
Subject: Re: Emacs repository benchmark: bzr and git
Date: Tue, 18 Mar 2008 22:03:46 +0530

Hi,

On Tue, Mar 18, 2008 at 9:32 PM, Matthieu Moy <address@hidden> wrote:
> Teemu Likonen <address@hidden> writes:
>
>  > I just measured with 'time' command how long it takes to run certain
>  > commands.
>
>  Interesting benchmark, but what's missing is whether this is with hot
>  or cold cache. For example:
>
>
>  > $ time bzr log >/dev/null
>  > real    3m15.708s
>
>  I get a bit less than a minute here, and I don't think my machine is
>  4x faster than yours, so this was probably with cold cache.
>
>  An interesting measure is "best of 3" (run it 3 times, and take the
>  smallest).
>

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 > :NUL

real    0m30.562s
user    0m0.015s
sys     0m0.000s

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 > :NUL

real    0m34.250s
user    0m0.015s
sys     0m0.015s

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 > :NUL

real    0m33.391s
user    0m0.015s
sys     0m0.000s

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 --short > :NUL

real    0m19.828s
user    0m0.015s
sys     0m0.015s

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 --short > :NUL

real    0m19.390s
user    0m0.015s
sys     0m0.000s

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 --short > :NUL

real    0m18.421s
user    0m0.047s
sys     0m0.031s

address@hidden ~/stub/repo/bzr/emacs/trunk
$ time bzr log -l 10 --short > :NUL

real    0m18.375s
user    0m0.015s
sys     0m0.000s


Even with 3 runs, I do not see any noticeable change in performance. I
am running the tests on emacs repo. I am running all tests on M$-XP
box (lenovo T61 series with Intel Centrino Pro, 1Gb RAM).

How do I get rid of cache if I have to restart the tests? I plan to
analyze the '--lsprof' output to see if there is different code path
and the so called hot/cold cache making any difference.

-dhruva

-- 
Contents reflect my personal views only!




reply via email to

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