Folks:

My project's source code browser system is trac with trac-darcs with darcs:

http://allmydata.org/trac/tahoe-lafs

So is the "darcs source code browser" that is linked from http:// darcs.net's front page:

http://allmydata.org/trac/darcs-2/browser

Whenever you ask to browse a version of a file or directory which isn't the most recent of the file, such as by clicking here:

http://allmydata.org/trac/darcs-2/browser/src/Darcs/Hopefully.lhs? rev=20081025230140-cba2c-a3b15dafdb45884e9200b77fe3649a1cea5b8d77

then the trac-darcs plugin issues a command to darcs like this one:

darcs query contents --quiet --match "hash 20081109101536-c31ef- ccf6657d1e8ed9208677f19bf620868c23da72e4.gz" "src/Darcs/Hopefully.lhs"

This takes a long time. For the Tahoe-LAFS repository, it takes so long that the web site times out and hackers start asking if we can please switch to git.

(Note that trac-darcs caches the results, so if someone else has already clicked on that link then the result will be fast for you. You can find out how long the "darcs query" command takes just by running it yourself on the darcs repository.)

Another very useful feature is the "annotate" feature of trac-darcs. When you are looking at a file like that one, click the "annotate" button in the upper-right-hand side.

This will issue a darcs command like this:

darcs annotate --xml-output --match "hash 20081025230140-cba2c- a3b15dafdb45884e9200b77fe3649a1cea5b8d77.gz" src/Darcs/Hopefully.lhs

And then produce a pretty rendering of the source file with annotations about which patches touched which lines of code. (Click on the patch number in the left-hand column to see that patch.)

My request is:

Please put a "darcs query" like this one (querying the contents of a not-the-most-recent-version of the file) and a darcs annotate like this one in the darcs benchmarks. I see that there is already something named "darcs annotate" in the benchmark results:

http://lists.osuosl.org/pipermail/darcs-users/2010-January/022975.html

But I'm not sure if it is exercising the sort of problem that I have. The speed of "annotate" seems to have gotten dramatically *worse* since darcs 2.3. I guess this means I shouldn't upgrade to darcs 2.4!

And in the most recent post to the list the "annotate" line doesn't appear at all:

http://lists.osuosl.org/pipermail/darcs-users/2010-February/023019.html

Thank you very much!

Regards,

Zooko
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to