bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: speed up test-stat-time


From: Eric Blake
Subject: Re: speed up test-stat-time
Date: Sat, 10 Oct 2009 05:33:29 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 10/10/2009 3:09 AM:
>> +#if !HAVE_USLEEP
>> +  /* Assume the worst case file system of FAT, which has a granularity
>> +     of 2 seconds.  */
>> +  sleep (2);
>> +#else /* HAVE_USLEEP */
> 
> Nice.
> 
> However, I saw no improvement when running that test via coreutils.
> I guess your environment already had a test for the usleep function.

Hmm.  I know I added that at one point; but it probably got misplaced
during all my rebasing.  Thanks for catching that - yes, the test for
usleep is essential for the speedup.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrQcQkACgkQ84KuGfSFAYBkYwCfT2PG2XE/qVJd3Ea1oB5NgH2d
cXUAoKnfoL44KOJHmGs4fF9kNwCGuMIr
=fwNI
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]