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

According to Jim Meyering on 10/10/2009 1:35 PM:
> Those look fine.  Thanks!
> I compared the performance of your modified touch
> on a tmpfs file system on a system running rawhide,
> creating 100,000 empty files (names 1..100,000), and found
> no significant difference when running touch with no options.

Try it again with 'touch -a' or 'touch -m'.  The savings come when
changing only one of the two timestamps: previously, touch had to stat()
to learn the time to preserve, as well as gettime() to learn what time to
change; but the new code can rely on the kernel to do both of those actions.

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

Eric Blake             [email protected]
-----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/

iEYEARECAAYFAkrQ95EACgkQ84KuGfSFAYBGKwCggD2ovcUqp3uJSjumLGV2Is6X
xwcAnRcOYUqYEBSLQvr9qFRHtZ+pyhcW
=KOwf
-----END PGP SIGNATURE-----


Reply via email to