Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/changelogentry.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 | 56281e086f38 |
children | ba625c8083d8 |
rev | line source |
---|---|
585 | 1 <table class="changelogEntry parity#parity#"> |
2 <tr> | |
1334
0843e1bf2b97
hgweb: fixed IE display problem on changelog page
TK Soh <teekaysoh@yahoo.com>
parents:
585
diff
changeset
|
3 <th class="age" width="15%">#date|age# ago:</th> |
1445
56281e086f38
hgweb: add strip and rstrip filters to handle summary
TK Soh <teekaysoh@yahoo.com>
parents:
1416
diff
changeset
|
4 <th class="firstline">#desc|strip|firstline|escape#</th> |
585 | 5 </tr> |
6 <tr> | |
7 <th class="changesetRev">changeset #rev#:</th> | |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
1334
diff
changeset
|
8 <td class="changesetNode"><a href="?cs=#node|short#">#node|short#</a></td> |
585 | 9 </tr> |
1416
19d2776f1725
hgweb: hide trivial parent (like in show_changeset)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1410
diff
changeset
|
10 #parent%changelogparent# |
585 | 11 #changelogtag# |
12 <tr> | |
13 <th class="author">author:</th> | |
14 <td class="author">#author|obfuscate#</td> | |
15 </tr> | |
16 <tr> | |
17 <th class="date">date:</th> | |
18 <td class="date">#date|date#</td> | |
19 </tr> | |
20 <tr> | |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
1334
diff
changeset
|
21 <th class="files"><a href="?mf=#manifest|short#;path=/">files</a>:</th> |
585 | 22 <td class="files">#files#</td> |
23 </tr> | |
1334
0843e1bf2b97
hgweb: fixed IE display problem on changelog page
TK Soh <teekaysoh@yahoo.com>
parents:
585
diff
changeset
|
24 </table> |