Bug#521093: RFP: libhtml-template-compiled-perl -- HTML::Template::Compiled - Template System Compiles HTML::Template files to Perl code
Package: wnpp
Severity: wishlist
* Package name : libhtml-template-compiled-perl
Version : 0.93
Upstream Author : Tina Mueller
* URL : http://search.cpan.org/~tinita/HTML-Template-Compiled-0.93/
* License : Perl (Artistic and GPL)
Programming Lang: Perl
Description : HTML::Template::Compiled - Template System Compiles HTML::Template files to Perl code
HTML::Template::Compiled (HTC) is a template system which uses the same template syntax as HTML::Template and the same perl API.
Internally it works different, because it turns the template into perl code, and once that is done, generating the output is much faster
than with HTML::Template (3-7 times at the moment, depending on the options you use., when both are run with loop_context_vars 0. It also
can generate perl files so that the next time the template is loaded it doesn't have to be parsed again. The best performance gain is
probably reached in applications running under mod_perl, for example.
If you don't use any caching HTC will be very slow, slower than TT. Also with file caching but without memory caching it's the slowest
templating module I know. With memory caching, though, it is one of the fastest, even faster sometimes (depending on options and template
size) than C modules.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Reply to: