这两天看了看Rasmus(PHP作者)的一个讲座,关于Scalability、Performance 、 Security ,比较了一些PHP Framework的性能,对于Python, RoR 等语言也有一些评论,还有一些Profiling 和 Benchmarking 工具,自己需要在这一方面加强了,以前都根本没有概念,简单的一个时区的设置在php.ini里都会有影响,include_path的设置等。 Tools for PHP debug and profiling 1. apd ( Zend extension) sudo pear install pear/apd 2. xdebug 3. apc sudo pear install apc extension=apc.so (added it to php.ini) 4. xdebugtoolkit A toolkit for analyzing and visualizing xdebug cachegrind files http://code.google.com/p/xdebugtoolkit/ 5.cg2dot – converter from Xdebug cachegrind files to the dot format. http://code.google.com/p/xdebugtoolkit/wiki/cg2dot http://www.xdebug.org/docs/profiler http://www.graphviz.org/
- cgsplit – splitter for appended cachegrind files. http://code.google.com/p/xdebugtoolkit/wiki/cgsplit
相关连接: