##// END OF EJS Templates
templater: return data in increasing chunk sizes...
templater: return data in increasing chunk sizes Currently hgweb is not streaming its output -- it accumulates the entire response before sending it. This patch restores streaming behaviour. To avoid having to synchronously write many tiny fragments, this patch also adds buffering to the template generator. Local testing of a fetch of a 100,000 line file with wget produces a slight slowdown overall (up from 6.5 seconds to 7.2 seconds), but instead of waiting 6 seconds for headers to arrive, output begins immediately.

File last commit:

r6436:856ae126 default
r7396:526c40a7 default
Show More
shortlogentry.tmpl
5 lines | 254 B | application/x-cheetah | CheetahLexer
<tr class="parity{parity}">
<td class="age">{date|age}</td>
<td class="author">{author|person}</td>
<td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a>{tags%changelogtag}</td>
</tr>