On Thu, Apr 4, 2013 at 11:32 PM, Justin Collum <[email protected]> wrote: > Just to be sure I went through the whole process again: > > 1. download v8 to ~/v8: https://code.google.com/p/v8/wiki/UsingGit > > 2. build using `make dependencies && make ia32.release`: > https://code.google.com/p/v8/wiki/BuildingWithGYP > > 3. run the js test file
You don't have to download V8, it's bundled with node: $ make -C deps/v8 native (You may have to symlink gyp first.) > Result: > > [Shared libraries]: > ticks total nonlib name > 280868 96.2% 0.0% b7713000-b7714000 > 177 0.1% 0.0% /lib/i386-linux-gnu/libc-2.15.so > 24 0.0% 0.0% /usr/bin/nodejs > > [JavaScript]: > ticks total nonlib name > > [C++]: > ticks total nonlib name > 187 0.1% 1.7% void > v8::internal::ScavengingVisitor<(v8::internal::MarksHandling)1, > (v8::internal::LoggingAndProfiling)0>::EvacuateObject<(v8::internal::ScavengingVisitor<(v8::internal::MarksHandling)1, > (v8::internal::LoggingAndProfiling)0>::ObjectContents)1, > (v8::internal::ScavengingVisitor<(v8::internal::MarksHandling)1, > (v8::internal::LoggingAndProfiling)0>::SizeRestriction)0, > 4>(v8::internal::Map*, v8::internal::HeapObject**, > v8::internal::HeapObject*, int) > > So it appears that it's processing the log but none of the js calls (which > are 96.2% of the exec time) are parsed. That's probably the vDSO (notice how it's only 4 kB of memory) which probably means your process was sleeping in system calls most of the time. Keep in mind the profiler measures wall clock time, not CPU time. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- 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]. For more options, visit https://groups.google.com/groups/opt_out.
