Re: Speed of demo
| From: | Monte Ohrt | Date: | Mon, 29 Oct 2001 15:54:39 +0000 |
| Subject: | Re: Speed of demo | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1760@lists.php.net to get a copy of this message | ||
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/