Files
node-v0.x-archive/lib
Ben Noordhuis 6b713b5253 cluster: make --prof work for workers
Profiling in clustered environments doesn't work out of the box.

By default, V8 writes the profile data of all processes to a single
v8.log.

Running that log file through a tick processor produces bogus numbers
because many events won't match up with the recorded memory mappings
and you end up with graphs where 80+% of ticks is unaccounted for.

Fixing the tick processor to deal with multi-process output is not very
useful because the processes may be running wildly disparate workloads.

That's why we fix up the command line arguments to include
a "--logfile=v8-%p.log" argument (where %p is expanded to the PID)
unless it already contains a --logfile argument.

Fixes #4617.
2013-01-18 12:56:40 +01:00
..
2011-03-14 17:37:05 -07:00
2011-03-14 17:37:05 -07:00
2012-06-16 11:02:49 -07:00
2011-03-14 17:37:05 -07:00
2013-01-16 17:10:14 +01:00
2012-11-08 12:31:45 -08:00
2013-01-16 16:53:11 +01:00
2012-06-19 14:07:48 -07:00
2012-06-28 10:14:03 -07:00
2013-01-14 17:18:30 -08:00
2012-12-21 11:05:46 -08:00
2012-03-03 23:48:57 -08:00
2012-12-14 10:52:26 -08:00