Greg Cope sent the following bits through the ether:

> A question - I use HTML::Template and mod_perl - why should I switch to
> TT ? (as I only need loop iterations (for tables), URL and HTML
> escaping, and Variable Subs).

You're using the templating system in the Right Way, so there's no
huge advantage in switching. It's neat, though ;-)

> Has anyone benchmarked TT vs <insert package here> ? (Yes and I know
> benchmarks are lies, damn lies - but they give an idea)

http://www.mail-archive.com/modperl%40apache.org/msg15504.html

Notice this is two benchmarks, the h2000 and the hello one. On the
hello one, TT2 is fairly fast (come on, it's only half the speed of
static HTML, your IO bandwidth will be the limit here). It doesn't do
so well for the h2000 benchmark, although I'd expect finishing the C
port of Template::Stash to speed this up dramatically.

Benchmarks suck. Change templating system and see if you notice a
difference. I tend to optimise developer time instead of runtime, but
other people may have other priorities.

HTH, Leon
-- 
Leon Brocard.............................http://www.astray.com/
yapc::Europe............................http://yapc.org/Europe/

... As easy as 3.14159265358979323846264338327950288419716

Reply via email to