Some new light on the TT performance...


----- Original Message -----
From: "Michael Stevens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 5:30 PM
Subject: Re: Fw: Linux Hello World Benchmarks...


>
> I've made enquiries and am told that the specific step taken was to
> keep the Template object around between requests, rather than creating
> a new one for each specific request.
>
> As far as I'm aware, this restricts you in that all templates served
> using this object must have the same global config options such as
> START_TAG, END_TAG and INCLUDE_PATH, to give a few examples.
>
> To quote:
>
> "It is the fastest hello world'er in this set.  Of course, all the other
> contenders try to do a lot more than TT does.  They're all parsing args,
> setting up object views of the request, etc.  And this test didn't use any
> variables in the stash at all, which is by far the slowest part of TT
> performance."
>
> (template toolkit mailing list, post by Perrin Harkins at Tue, 12 Dec 2000
> 09:58:06 -0800 (PST)).
>
> Suggesting that, shock horror, printing "hello world" may not be entirely
> representative of *actual* behaviour in real applications.
>
> I'm more interested in comparing Embperl behaviour with various
'optimisations'
> and configuration options, but still haven't had time to setup mod_perl
> and embperl on my system at home.
>
> Michael
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to