On 24 May 2002, Keith Jackson wrote: > I would be interested in this too. We have an internal battle at our > company about the scalability of HTML::Template. I have done some > testing using siege and Devel::DPRof. I admit its not complete and the > tests compare HTML::Template to in-house solutions (that are not nearly > as complete or robust as HTML::Template). What I have found is that > using HTML::Template::Expr is far slower then HTML::Template.
Oh, without a doubt. HTML::Template::Expr uses Parse::RecDescent, which is perhaps the slowest (and most powerful) parser available. To make matters worse it empoys an interpreter model for executinng the psuedo-code inside the expressions. There are many ways ::Expr could be sped up. The existing code is usable but is still mostly a proof-of-concept implementation. Um, patches welcome! Speeking of speed, have you tried HTML::Template::JIT? It's not feature complete but it is the fastest Perl templating engine known to modern man. No, really! It even beats PHP. -sam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
