in reply to Re^3: Templating system choice
in thread Here documents in blocks

Also TT is extremely slow compared to something like Text::Xslate.

That's an interesting observation. I have not noticed it being extremely slow but maybe that's more to do with my use cases and data volumes. Does this extreme slowness still exhibit for you in versions >= 3.0? The changelogs suggest quite a bit of optimisation in that release.


🦛

Replies are listed 'Best First'.
Re^5: Templating system choice
by Your Mother (Archbishop) on Dec 21, 2020 at 19:41 UTC

    It’s an order of magnitude faster. So TT3 would have to be like 1,000 faster than TT2 to even close most of the gap. If you’re not doing 30+ dynamic requests per second it won’t matter. On a heavy traffic site, 100–10,000+ requests per second it will be the difference between constant outages and transparent service; as long as everything else, like DB, is optimized/cached.

    Update: Template::Alloy already runs older TT syntax much faster and it’s what I have used in the past.