Re: smarty-dev Digest 5 Jul 2004 21:50:38 -0000 Issue 253

From: Date: Mon, 05 Jul 2004 22:15:02 +0000
Subject: Re: smarty-dev Digest 5 Jul 2004 21:50:38 -0000 Issue 253
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2435@lists.php.net to get a copy of this message
that's approximately 8-9$ improvement. That's substantial. If combined with other improvements, a site could run MUCH faster. Nice work smarty-dev-digest-help@lists.php.net 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: <smarty-dev-digest-subscribe@lists.php.net> To unsubscribe from the digest, e-mail: <smarty-dev-digest-unsubscribe@lists.php.net> To post to the list, e-mail: <smarty-dev@lists.php.net> ---------------------------------------------------------------------- ------------------------------------------------------------------------ Subject: Compressessed Smarty class From: markku.niskanen@arctive.com (Markku Niskanen) Date: Mon, 05 Jul 2004 21:50:30 GMT To: smarty-dev@lists.php.net To: smarty-dev@lists.php.net 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


« previous php.smarty.dev (#2435) next »