Does anyone know why "node --prof test.js" not work ?
What I did are followings: git clone https://github.com/joyent/node.git ./configure make sudo make install cd node/deps/v8/ make dependencies make native vim test.js node --prof test.js tools/linux-tick-processor v8.log The results are: Statistical profiling result from v8.log, (0 ticks, 0 unaccounted, 0 excluded). <-- why ?? *I know that the results should be like the follwoings:* Statistical profiling result from /home/hyanglan/v8/demo/v8.log, (3 ticks, 0 unaccounted, 0 excluded). [Shared libraries]: ticks total nonlib name 1 33.3% 0.0% [vdso] [JavaScript]: ticks total nonlib name [C++]: ticks total nonlib name 1 33.3% 50.0% v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::ConstantType::Bound() 1 33.3% 50.0% v8::internal::LInstruction::IsControl() const [GC]: ticks total nonlib name 0 0.0% [Bottom up (heavy) profile]: Note: percentage shows a share of a particular caller in the total amount of its parent calls. Callers occupying less than 2.0% are not shown. ticks parent name 1 33.3% v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::ConstantType::Bound() 1 33.3% v8::internal::LInstruction::IsControl() const 1 33.3% [vdso] 1 100.0% LazyCompile: InstantiateFunction native apinatives.js:31:29 1 100.0% LazyCompile: ~Instantiate native apinatives.js:10:21 1 100.0% LazyCompile: ConfigureTemplateInstance native apinatives.js:63:35 1 100.0% LazyCompile: ~Instantiate native apinatives.js:10:21 1 100.0% LazyCompile: InstantiateFunction native apinatives.js:31:29 -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/9b16a96c-64bc-4077-929c-87ca701b2854%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
