Re: version 1.4.6 released
| From: | Sylvain.B | Date: | Thu, 01 Nov 2001 21:53:46 +0000 |
| Subject: | Re: version 1.4.6 released | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1804@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
At first glance, it looks as if jpcache is a page cacher, where as APC and Zend Cache cache the compiled versions of the PHP scripts, two completely different technologies.Have you see the bench ? (www.phpindex.com/download/BenchWeb_V1.1.pdf)
You can try jpcache with Smarty but I won't guarantee your results, they might be quite confusing if you try to use both. Smarty already does page caching for you.This is my result with the native index.php from Smarty package : line command for test : ab -v "Accept-Encoding: gzip, deflate" -n 100 -c 5 http://localhost/smarty/index.php Configuration : Athlon 1Ghz 128 Mo Apache 1.3.22 PHP 4.0.6 With Smarty only Time for tests - Requests per second - Time per request - Transfer rate 12.338 8.11 616.90 463.29 12.625 7.92 631.25 453.40 12.177 8.21 608.85 465.83 12.289 8.14 614.42 484.86 12.705 7.87 635.25 444.15 With Smarty and jpcache (cachetimeout : 100) 4.112 24.32 205.60 1345.94 3.898 25.65 194.90 1419.83 4.071 24.56 203.55 1386.68 3.985 25.09 203.55 1386.68 3.992 25.05 199.60 1427.99 What do you think about this... ? As for the gzip compression, I'd recommend letting
the web server handle this. With Apache, you can use mod_gzip to compress all kinds of content from the server, including PHP content, Perl content, static content, etc.Right !
"Sylvain.B" wrote:Hi, Well done for this new released ! Great work ! I'm work (for test) with different cache and optimizer systems for PHP... APC, PHPcache, Zend Optimizer, Zend cache and jpcache I would like to know how smarty work for this feature... On this test (www.phpindex.com/download/BenchWeb_V1.1.pdf) we can see jpcache really is better than other system (better too because is under GPL) Is jpcache can increase performance of web site build with Smarty ? https://sourceforge.net/projects/jpcache/ thanks, Sylvain.B.