Re: Speed of demo
| From: | LIMBOURG Arnaud | Date: | Mon, 29 Oct 2001 16:02:09 +0000 |
| Subject: | Re: Speed of demo | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1761@lists.php.net to get a copy of this message | ||
Mmm, my fault, i took only the debug.tpl from the snapshot, so i run 1.4.5
final and the snapshot debug template.
The values are not assigned because i have a warning upon execution.
I'll test the snapshot and tell the list.
> -----Original Message-----
> From: Monte Ohrt [mailto:monte@ispi.net]
> Sent: Monday, October 29, 2001 4:55 PM
> To: smarty@lists.ispi.net
> Subject: [smarty] Re: Speed of demo
>
>
> btw, I defaulted the formatting of the execution time to five decimal
> places. Should we extend that, or leave it wide open?
>
> (search for "%.5f" in the debug.tpl file, change that to a higher
> number, or remove |string_format:"%.5f" altogether)
>
> Monte Ohrt wrote:
> >
> > That sounds a little bit quick :-) How are you calculating
> the time? Are
> > you using Smarty's built in debug timing in the latest snapshot?
> >
> > LIMBOURG Arnaud wrote:
> > >
> > > > > Hi,
> > > > >
> > > > > Out of interest, what should the total time etc on the
> > > > debugging console be
> > > > > for the demo distributed with Smarty? I was getting 4s,
> > > > and then removed
> > > > > the JS menu thingummy, turned off compile_check, and now I
> > > > get 0.2s the
> > > > > first time I run it, and then 0.04s after that (server caching
> > > > > perhaps?). I was expecting ~ 0.05s for the whole of it all
> > > > the time - does
> > > > > this mean my server's slow or I have an unreasonable
> > > > expectation of smarty???
> > >
> > > On a pIII 733, 256 MB RAM, Apache 1.3.22, PHP 4.0.6 total
> time is at 0.00000
> > >
> > > I know it's local but still ...
> > >
> > > ---
> > > You are currently subscribed to smarty as: monte@ispi.net
> > > To unsubscribe send a blank email to
> $subst('Email.Unsub')
> > > Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
> >
> > --
> > Monte Ohrt <monte@ispi.net>
> > http://www.ispi.net/
> >
> > ---
> > You are currently subscribed to smarty as: monte@ispi.net
> > To unsubscribe send a blank email to
> $subst('Email.Unsub')
> > Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
>
> --
> Monte Ohrt <monte@ispi.net>
> http://www.ispi.net/
>
> ---
> You are currently subscribed to smarty as: arnaud.limbourg@cegetel.fr
> To unsubscribe send a blank email to
> $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
>