perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hodgkinson <daveh...@gmail.com>
Subject Re: a faster html::template?
Date Wed, 07 Sep 2005 22:53:29 GMT

On 7 Sep 2005, at 21:07, Perrin Harkins wrote:

> On Wed, 2005-09-07 at 20:41 +0300, Octavian Rasnita wrote:
>
>> I have used Template-Toolkit, and the time used for parsing those  
>> templates
>> used to double the whole time the program needed to run, so the  
>> speed of
>> template parsing could be important.
>>
>
> I suspect you had one of the following problems:
>
> - Incorrectly configured template caching
> - Heavy use of method calls in your template
> - Use of a plugin that fetches data (e.g. DBI queries or a Class::DBI
> object)
> - Programming logic in the template that belongs in the perl code
> instead
> - Heavy use of INCLUDE rather than PROCESS
>
> I often see people make one or more of these mistakes (which are not
> possible to make with HTML::Template) and conclude that TT is slow.

Put this checklist in the docs please!



Mime
View raw message