Using Text::Xslate as an alternative to Template::Toolkit?

Byron Jones glob at mozilla.com
Wed Mar 7 04:29:28 UTC 2012


Frédéric Buclin wrote:
> But someone replied to me privately that there is one possible
> alternative to TT, which is the Text::Xslate module, available on CPAN:
>
> [...]
>
> In mod_cgi environment, this module is only 1.5 times faster than TT,
> based on their benchmarks.
for bugzilla with mod_cgi those gains will probably be lost by the 
overhead moose/mouse adds.

for mod_perl, we don't currently cache anything between requests; it may be better to investigate retaining compiled templates across requests, as well as looking into a backend (backed by mod_perl or memcached) for caching generated html fragments between requests.


-b

-- 
byron - irc:glob - bugzilla.mozilla.org team -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20120307/6c3b8724/attachment.html>


More information about the developers mailing list