[darcs-users] Benchmarking "darcs query contents"

zooko zooko at zooko.com
Wed Mar 18 01:40:38 UTC 2009

On Mar 17, 2009, at 17:39 PM, Lele Gaifax wrote:

> Uhm, are you sure that's the effective command executed *whenever*  
> you hit the browser?

Sorry, not whenever you visit http://allmydata.org/trac/tahoe/ 
browser , but whenever you examine a file's contents by clicking on  
the filename on that page it does "darcs annotate".

Also whenever you click on a directory then it does "darcs query  
contents" for *each* entry in that directory.  Darcs query contents  
often takes 10's of seconds for a single entry.  For example:

trac at org:/home/source/darcs/tahoe/trunk-hashedformat$ time darcs  
query contents --quiet --match "hash 20071022220839-e01fd- 
d8dcaffcdc1ddff6f6408b770abd99115f8c8d46.gz" "misc/munin/tahoe-conf"  
real    0m11.374s
user    0m8.750s
sys     0m1.740s



More information about the darcs-users mailing list