~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/configure.zcml

  • Committer: Gary Poster
  • Date: 2011-08-18 17:44:39 UTC
  • mto: This revision was merged to the branch mainline in revision 13772.
  • Revision ID: gary.poster@canonical.com-20110818174439-jgzdnepfsrmiylot
Make some micro-optimizations for rendering tasks that shave off about .8 seconds locally when you have many tasks: use Chameleon, and calculate data for the template before rendering, carefully.

Show diffs side-by-side

added added

removed removed

Lines of Context:
558
558
            for="lp.bugs.interfaces.bugtask.IBugTask"
559
559
            class="lp.bugs.browser.bugtask.BugTaskTableRowView"
560
560
            permission="launchpad.View"
561
 
            name="+bugtasks-and-nominations-table-row"
562
 
            template="../templates/bugtask-tasks-and-nominations-table-row.pt"/>
 
561
            name="+bugtasks-and-nominations-table-row"/>
563
562
        <browser:page
564
563
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
565
564
            permission="zope.Public"