Re: Performance bug: useless MDTM commands in ftp fetch mode
Joe Orton <[email protected]> Mon, 18 Jul 2005 10:38:12 +0100
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jul 17, 2005 at 11:38:35PM +0200, Dirk Pirschel wrote: > Yes, i am using safe mode. We are two webmasters at this site, so that > safe mode is mandatory. > > I have tested an old sitecopy 0.11.4, but if i understand the source > code, this should also happen with version 0.15.1. > > The best performance would be: Fetch the directory listing via ls -laR, > remove files which are excluded, and perform MDTM commands only on the > remaining files. sitecopy currently performs MDTM commands on every > (possibly excluded) file, and excludes the files later... :-( Oh, I see what you're getting at. Behaviour for future versions of sitecopy will be to perform multiple "ls -la" invocations, recursing manually; so files within excluded *directories* will not get the redundant MDTM commands you're seeing now. I've noted the issue w.r.t avoiding all redundant MDTM commands too. Thanks for the report. joe _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy