You need to add --log
option if you want to get a v8.log file.
$ node --prof --prof_lazy --log test/performance/performance-test.js
However, when you use v8-profiler, the log file does not contain profiling data. I guess it is because profiler.stopProfiling()
returns the profiling data to the caller. See the example in project's README:
profiler.startProfiling([name]) //begin cpu profiling
var cpuProfile = profiler.stopProfiling([name]) //finish cpu profiling
There is another module that allows you to manually start/stop the profiler, while writing the profiling data to v8.log: node-profiler. I did not manage to get it compiled with Node v0.8 nor v0.10, you may want to fill an issue in the project's issue tracker.