Folks:

A new user started to convert his company to darcs, but then had to  
back out and go back to using SVN when it turned out that "darcs  
whatsnew" took 17 seconds and his co-workers couldn't stand that.   
(The equivalent call, "svn diff" takes around 1.7 seconds -- about  
10x as fast.)

He gave me this count of files:

find . -type f |grep -v \.svn|wc
     4762    4763  229874

He gave me an strace of "darcs whatsnew" with -t (print relative  
timestamp) and -T (print time spent in each syscall).  The whole  
thing is interesting reading.  For example:

grep 'stat64("/home/darcs-cache//pristine.hashed"' log2 | wc -l
     3578

It looks like there is probably quite a bit of room for optimization  
in darcs-2's use of the filesystem.

Regards,

Zooko

Here is the log.bz2 file.  Sorry for the long URL:

http://tahoebs1.allmydata.com:8123/uri/URI%3ACHK% 
3Ahzdsgztpvd5uip4tb7uaude4ua% 
3Acgwu6vnrspq2hxpb4gugs6yprn2iyuz7tpk7k7yesqvnkffksh4q%3A3%3A10% 
3A807696?filename=log2.bz2
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to