Obtaining the size of a file

Bill Marriott wjm at wjm.org
Mon Apr 23 19:24:20 EDT 2007


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?





More information about the use-livecode mailing list