bnoordhuis/node-profiler — Issue #3: nprof branch - build works, but can't control profiler
Author: scriby
Created: 2011-12-16 16:58:29+00:00
State: open

Ben,

I got the nprof branch checked out, built, and installed. But, it
doesn't seem to work.

git clone git://github.com/bnoordhuis/node-profiler.git
cd node-profiler
git checkout --track -b nprof origin/nprof
node-waf configure
node-waf build
node-waf install

In my test file:

var profiler = require('profiler');
...
profiler.resume();
...
profiler.pause();

And kicking off my test file:

node --prof --prof-lazy test.js

I don't get a v8.log output in the current directory when it's done
running. If I take off the --prof-lazy option, the v8.log is created
as expected.