Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/filelogentry.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 | f2ebd5251e88 |
rev | line source |
---|---|
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
142
diff
changeset
|
1 <table class="parity#parity#" width="100%" cellspacing="0" cellpadding="0"> |
138 | 2 <tr> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
167
diff
changeset
|
3 <td align="right" width="15%"><b>#date|age# ago: </b></td> |
1445
56281e086f38
hgweb: add strip and rstrip filters to handle summary
TK Soh <teekaysoh@yahoo.com>
parents:
1410
diff
changeset
|
4 <td><b><a href="?cs=#node|short#">#desc|strip|firstline|escape#</a></b></td></tr> |
138 | 5 <tr> |
167 | 6 <td align="right">revision #filerev#: </td> |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
377
diff
changeset
|
7 <td><a href="?f=#filenode|short#;file=#file#">#filenode|short#</a> |
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
377
diff
changeset
|
8 <a href="?fd=#node|short#;file=#file#">(diff)</a> |
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
377
diff
changeset
|
9 <a href="?fa=#filenode|short#;file=#file#">(annotate)</a> |
138 | 10 </td></tr> |
11 <tr> | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
142
diff
changeset
|
12 <td align="right">author: </td> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
167
diff
changeset
|
13 <td>#author|obfuscate#</td></tr> |
138 | 14 <tr> |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
142
diff
changeset
|
15 <td align="right">date: </td> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
167
diff
changeset
|
16 <td>#date|date# (#date|age# ago)</td></tr> |
142 | 17 </table> |
138 | 18 |
19 |