Eric Anderson wrote:
Mark Bucciarelli wrote:
On Sat, Feb 18, 2006 at 11:06:57PM -0500, Mark Bucciarelli wrote:
I'm curious how fast stat is.
I generated a list of 200,000 file names
# find / | head -20 > files.statspeed
then ran a million iterations of randomly picking a file name
Mark Bucciarelli wrote:
On Sat, Feb 18, 2006 at 11:06:57PM -0500, Mark Bucciarelli wrote:
I'm curious how fast stat is.
I generated a list of 200,000 file names
# find / | head -20 > files.statspeed
then ran a million iterations of randomly picking a file name and
stating it (see a
On Sat, Feb 18, 2006 at 11:06:57PM -0500, Mark Bucciarelli wrote:
> I'm curious how fast stat is.
>
> I generated a list of 200,000 file names
>
> # find / | head -20 > files.statspeed
>
> then ran a million iterations of randomly picking a file name and
> stating it (see attached progra
189,059
189,567
189,894
Are these numbers a meaningful measure of stat speed on my particular
machine? If not, how can I improve the test?
m
// statspeed.c
//
// Mark Bucciarelli
// 2006-02-18
//
// Read in a long list of file names.
// Randomly pick one, stat it, randomly pick anoth