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

Corey Hickey bugfood-ml
Mon Jun 19 22:57:56 CEST 2006


?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

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

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


That's on an amd64 with reasonably fast disks; I could easily see it
taking much longer on another machine. As for the real-world behavior, I
would only be able to guess how often the requisite files are cached, so
I'm not going to argue either way.

-Corey




More information about the ffmpeg-devel mailing list