> Lastly, if you absolutely gotta have more speed, you could try
> HTML::Template::JIT.  It's got some drawbacks - not all of
> HTML::Template's syntax is supported and compilation times are long -
> but it is reliably 4 to 8 times faster.

You also might look into HTML::Template::Pro.  Its latest version is
current with HTML::Template version 2.8.

The author gives this description of the speed benefits:

HTML::Template::Pro loads, parse and outputs template on fly, when you
call $tmpl->output(), in one pass. The corresponding code is written in
C and glued to Perl using Perl+XS. As a result, comparing to
HTML::Template in ordinary calls, it runs 10-25 times faster. Comparing
to HTML::Template with all caching enabled under mod_perl, it still 1-3
times faster. At that HTML::Template caching requires considerable
amount of memory (per process, shareable, or on disk) to be permanently
filled with parsed trees, whereas HTML::Template::Pro don't consumes
memory for caches and use mmap() for reading templates on disk.

- Jim

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to