顯示具有 programing 標籤的文章。 顯示所有文章
顯示具有 programing 標籤的文章。 顯示所有文章

2010年4月30日 星期五

檢查程式的效能瓶頸

★ System-wide:
oprofile, strace -c
★ Perl:
Devel::NYTProf
★ Ruby:
ruby -r profile (or just NewRelic)
★ PHP:
Xdebug + KCachegrind -- but not in production
XHProf http://mirror.facebook.net/facebook/xhprof/

來源是Presentations Announcement: 2010 O’Reilly MySQL Conference & Expo
其中的Diagnosing-and-Fixing-MySQL-Performance-Problems這篇
還有其他不錯的簡報,不過時間不夠看不完阿~~~

2010年3月3日 星期三

未定義行為,程式不是這樣寫低

看了這篇文章"萬惡的未定義行為",才想到我前一陣子看預官考古題時有類似的題目。
就推廣一下巴,雖然現在沒幾個老師在寫程式,連做研究都是用說的,不過who care?