Re: smarty-dev Digest 5 Jul 2004 21:50:38 -0000 Issue 253
Dennis Gearon <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
that's approximately 8-9$ improvement. That's substantial. If combined with other improvements, a site could run MUCH faster. Nice work [email protected] wrote: > smarty-dev Digest 5 Jul 2004 21:50:38 -0000 Issue 253 > > Topics (messages 2434 through 2434): > > Compressessed Smarty class > 2434 by: Markku Niskanen > > Administrivia: > > To subscribe to the digest, e-mail: > <[email protected]> > > To unsubscribe from the digest, e-mail: > <[email protected]> > > To post to the list, e-mail: > <[email protected]> > > > ---------------------------------------------------------------------- > > > ------------------------------------------------------------------------ > > Subject: > Compressessed Smarty class > From: > [email protected] (Markku Niskanen) > Date: > Mon, 05 Jul 2004 21:50:30 GMT > To: > [email protected] > > To: > [email protected] > > > Incase anybody might be interested ... > > I did some testing, "compressing" the Smarty class file > using the new handy strip_whitespace PHP5 function > and loaded the class in my entry-level development > server (P300). > > I "included" the Smarty class file unstripped and then > stripped and the average times it took to load the files > were: > > Original Smarty.class.php 0.0453 seconds > Stripped Smarty.class.php 0.0388 seconds. > > The difference was around 0,0065 seconds. > > So it seems that stripping off all whitespace does > have an effect, if not too big. > > Markku -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php