[darcs-devel] [issue390] "darcs whatsnew somefile" lstats every
file in the working copy and pristine/ directory
Juliusz Chroboczek
Juliusz.Chroboczek at pps.jussieu.fr
Mon Jan 15 14:26:28 PST 2007
> I do "darcs whatsnew somefile" and the performance is terrible (this
> is working on a remote filesystem that is mounted locally, so it
> massively exaggerates any problems). Doing an strace on this simple
> operation produces a huge file, which appears to be doing lstat64 on
> every file in the _darcs/pristine/ and the
Known issue. The Slurpy code needs to be refined.
Note that there's no issue on a sane local filesystem, as the i-node
cache (or your OS's equivalent) will hide the problem. However, it
will bite you badly on a remote filesystem that has synchronous
semantics for stat.
Juliusz
More information about the darcs-devel
mailing list