My aim is to develop a java script profiler for nodejs . The requirements 
are as under :

   1. Should be able to fetch call stack .
   2. Get Time stamp information.
   3. Get number of iterations.

My chief concern is that i should not modify the source file ( .js file ) .

I have seen all the available profiling options for JavaScript code on node 
js . The problem i face is that most of them require manual injection of 
the profiling specific code into my source code. Here is an example

*var profiler = new Profiler()* *// Need to create profiler in my .js file*

*profiler.startProfiling()*

*// My Code*

*profiler.endProfling()*

Since most profilers require this kind of code injection. Can anyone 
suggest me any other profiling alternative (which will not need source code 
modification).

Currently i am using v8 functionality provided with node js to profile my 
JavaScript Code. For example

*node --prof MyTestApp.js*

This command gives me a v8.log . Here is a sample 
log<http://pastebin.com/AdnW7s2k>

So here are my queries

   1. Can there be possible workaround for v8 , so that i can add timestamp 
   information ,iteration count for functions
   2. Is there any other profiling tool (apart from v8) which could meet my 
   requirement.

Help is appreciated

-- 
-- 
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.

Reply via email to