照片來源: http://www.flickr.com/photos/myhsu/3040774379/ 收到講座訊息的時候很高興,因為當時正好在開發 php 的程式,所以就興沖沖的報名了。 以下是簡單的小筆記跟感想: Talk Slides : http://talks.php.net/show/ntu PHP is rarely the bottleneck. Usually, you (the programmer) are the bottleneck. http://developer.yahoo.com/yslow/ :analysis web page, give you some suggestions. http://www.joedog.org/JoeDog/siege : measure the performance of web page. strace (linux command) : List system calls you invoke. Enable you to understand the effect of your code and have the possibility to fine tune your system. Include path is important, set them such that your program can find them quickly (system will execute "cd" command as less as possible). Tools for profiling your system, detect memory management and threading bugs. valgrind : http://valgrind.org/ callgrind, KCachegrind : http://kcachegrind.sourceforge.net/ PHP debug tools http://www.xdebug.com/ 感想:Rasmus (PHP 創始者) 讓...
Comments