I did some more investigation: I'm not getting much of a performance boost from either eAccelerator or Zend Optimizer over no op code cache for my ZF infrastructure, which is a bit of a surprise.
I decided to try optimization on code that everyone can try. I loaded Rob Allen's current ZF tutorial (zf_tutorial-1.4.1.zip) at http://akrabat.com/zend-framework-tutorial/ and added some timing functions in a file called util.php and placed it in the library dir. I also modified his index.php. Both these files are included in this post. http://www.nabble.com/file/p13185506/util.php util.php http://www.nabble.com/file/p13185506/index.php index.php The results: It's much faster: zend framework page generation takes about 0.4 sec. I used MySQL this time and the db connection times are quick! About 0.02 - 0.03 sec on my computer compared to 0.57 sec with Postgres. The op code cache solutions are not providing much of a performance boost. The optimizers might improve performance a bit but it's hard to tell. I did not load the data in excel so this is more of an eyeball result, but you can try it yourself. If others try the code (esp on linux), please report some numbers so comparisons can be made. If you find op code caches are giving a big performance improvement, that would be interesting to know. Also, if you find that postgres on linux performances much faster, that would be great to know! -- View this message in context: http://www.nabble.com/ZF-performance-advice-tf4610974s16154.html#a13185506 Sent from the Zend Framework mailing list archive at Nabble.com.
