Posts

Showing posts from November 22, 2008

【Yahoo!奇摩校園技術分享講座】與大師相遇 - PHP教父談理想網路環境

Image
照片來源: 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 創始者) 讓...