mirror of https://github.com/nodejs/node.git
6b713b5253
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. |
||
---|---|---|
benchmark | ||
deps | ||
doc | ||
lib | ||
src | ||
test | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
BSDmakefile | ||
CONTRIBUTING.md | ||
ChangeLog | ||
LICENSE | ||
Makefile | ||
README.md | ||
common.gypi | ||
configure | ||
node.gyp | ||
vcbuild.bat |
README.md
Evented I/O for V8 javascript.
To build:
Prerequisites (Unix only):
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)
Unix/Macintosh:
./configure
make
make install
Windows:
vcbuild.bat
To run the tests:
Unix/Macintosh:
make test
Windows:
vcbuild.bat test
To build the documentation:
make doc
To read the documentation:
man doc/node.1