我有一個節點應用程序,我想使用節點分析器進行配置文件。使用v8分析nodejs
所以首先我跑:
node --prof v8test.js
然後,我下載了V8工具
svn checkout http://v8.googlecode.com/svn/trunk/ v8;
make dependencies;
make native;
然後試圖分析(v8.log)創建的文件
tools/linux-tick-processor ../v8.log
但我收到很多:
Code move event for unknown code: 0x289dd8475560
Code move event for unknown code: 0x289dd84758e0
Code move event for unknown code: 0x289dd8479280
Code move event for unknown code: 0x289dd8482980
Code move event for unknown code: 0x289dd84c2a80
line 718730: unknown code state: undefined
line 718731: unknown code state: undefined
line 739575: unknown code state: undefined
line 739577: unknown code state: undefined
有人能幫我弄清楚發生了什麼事嗎?
沒有一個答案,但本Noordhuis幫助我理清了同樣的問題: https://groups.google.com/forum/?fromgroups=#!topic/nodejs/4NMoiPd2K6s – jcollum 2013-04-04 21:45:42