You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Gunnar Eketrapp <gu...@gmail.com> on 2011/12/04 12:20:31 UTC

Slow rendering of pagelinks !?

Hi!

I have an page which I would like to speed up and when looking into it I
found out the the tml section below adds ca 3000 msecs to request the page
for a page with 18 grid lines and an avarage of 3 bookings per line.

That gives ca 55 msecs per rendered page link.

Is this normal considered my specs. Se attached image.

If so I must redesign my page ... since 3 secs / 18 lines is not feasible.

Note: I am using T5.2.6 ...

Thanks in advance,
Gunnar Eketrapp


...
<p:bookingCell>
    <t:loop source="bookingsByCode" value="booking"
index="accountCodeIndex">
        <t:pagelink page="economy/account" t:context="[group.id,
ledger.year, booking.account.code]" title="${booking.account.name}:
${booking.amount.format()}">${booking.account.code}</t:pagelink>
        <t:if test="breakAccounts"><br/></t:if>
    </t:loop>
</p:bookingCell>
...