annotate templates/tags.tmpl @ 1534:80a3d6a0af71

Optimize manifest.add Testing shows that manifest.add is spending a significant percentage of its time running calcoffsets and doing text = "".join(addlist). This patch removes the need for both of these by storying the manifest in a character array, and using a modified bisect search to find lines without the help of a separate index of line offsets. manifest.add was also reworked to push delta construction/combination into the main loop. Time to apply 2751 patches (without psyco, ext3 noatime,data=writeback): Stock hg: 4m45s real 3m32s user 55s sys patched: 2m48s real 1m53s user 43s sys quilt: 2m30s real 45s user 50s sys (quilt does much more io...)
author mason@suse.com
date Fri, 11 Nov 2005 18:20:22 -0800
parents 22041f754f4a
children fbe4bbd847e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
1 #header#
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
2 <title>#repo#: tags</title>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
3 </head>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
4 <body>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
5
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
6 <div class="buttons">
1419
22041f754f4a hgweb: fix broken tags->changelog link
Matt Mackall <mpm@selenic.com>
parents: 1410
diff changeset
7 <a href="?cl=tip">changelog</a>
1410
17703aa4491e hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents: 981
diff changeset
8 <a href="?mf=#manifest|short#;path=/">manifest</a>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
9 </div>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
10
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
11 <h2>tags:</h2>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
12
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
13 <ul id="tagEntries">
974
aedb47764f29 Added support for #foo%bar# syntax
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 586
diff changeset
14 #entries%tagentry#
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
15 </ul>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
16
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
17 #footer#