[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string

The Wanderer inverseparadox
Mon Jun 19 23:20:49 CEST 2006


Corey Hickey wrote:

> ?smail D?nmez wrote:
> 
>> Pazartesi 19 Haziran 2006 23:32 tarihinde, Luca Barbato ?unlar?
>> yazm??t?:
>> 
>>> cough
>>> 
>>> svn up
>>> 
>>> time svnversion
>>> 5498
>>> 
>>> real    0m0.098s
>>> user    0m0.048s
>>> sys     0m0.032s
>>
>> Try after cold boot.
> 
> Or, as root on Linux with a fairly recent kernel:
> 
> echo 3 > /proc/sys/vm/drop_caches

I don't know what this does, but without it (and as non-root, which is
how I run my configures/compiles), another datapoint:

> cached:
> real    0m0.053s
> user    0m0.027s
> sys     0m0.026s

real    0m0.259s
user    0m0.155s
sys     0m0.075s

> not cached:
> real    0m1.704s
> user    0m0.033s
> sys     0m0.066s

real    0m18.840s
user    0m0.252s
sys     0m0.253s

(Naturally, this was with no other significant disk access going on at
the time, which is not always the case when I compile.)

> That's on an amd64 with reasonably fast disks; I could easily see it
> taking much longer on another machine.

Athlon XP 2200+ here, with disks chosen for data capacity and virtually
zero priority given to speed (which doesn't mean that they're the
world's slowest, just that they're not especially fast) - and as you can
see, it did indeed take significantly longer.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the ffmpeg-devel mailing list