[darcs-users] filecache and making darcs faster

Simon Marlow marlowsd at gmail.com
Fri Aug 28 14:11:33 UTC 2009


On 26/08/2009 14:00, Eric Kow wrote:

> Is Darcs slower on Windows and MacOS X than
> on Linux?

I don't know if this is a new one, but 'darcs whatsnew' with hashed 
repositories on Windows seems to have a performance problem:

$ darcs show repo
           Type: darcs
         Format: hashed
           Root: d:/builds/ghc-testing
       Pristine: HashedPristine
          Cache: thisrepo:d:/builds/ghc-testing, cache:C:\Documents and 
Settings\simonmar\Application Data\darcs\cache
boringfile Pref: .darcs-boring
Default Remote: x:/ghc-HEAD
    Num Patches: 21106
$ time darcs w -s
No changes!

real    0m3.126s
user    0m0.000s
sys     0m0.015s
$ darcs --version
2.3.0 (release)

Compared to Linux, where the time is ~0.25s.  These are all local 
filesystems.

(I'd like to use hashed repos on Windows, mainly to avoid the 
case-insensitive-filesystem issue with non-hashed repos).

Cheers,
	Simon


More information about the darcs-users mailing list