Obtaining the size of a file
John Craig
jc at spl21.net
Mon Apr 23 19:43:40 EDT 2007
Shelling out to grab a single file took around 250 millisecs - although
if multi file sizes are required, you can tack them all into the one
command line and send that to the shell - it still takes about the same
time.
JC
Bill Marriott wrote:
> And how long does it take for you to shell out a dir for the
> particular file you're interested in?
>
> "John Craig" <jc at spl21.net> wrote in message
> news:462D4033.4050203 at spl21.net...
>> For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb
>> RAM) which is not running any services.
>>
>> Time taken to get 'the detailed files';
>> 26888 millisecs = 26.888 seconds
>>
>> Size of output generated by rev for 'the detailed files';
>> 2543957 bytes = 2.5Mb
>>
>> On a busy server, the results could be considerably greater. The
>> fact that it amounts to just under 0.8 millisecs per file is
>> irrelevant - If I need a few (or a few hundred) file sizes, I still
>> need to wait for the entire output to be generated. Economical?
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list