Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis 202df30aab build: disable unsafe optimizations
Compile at -O2 and disable optimizations that trigger gcc bugs.

Some people still reported mksnapshot crashes after commit b40f813 ("build: fix
spurious mksnapshot crashes for good" - so much for that).

Average performance of the -O2 binary is on par with the -O3 binary. Variance
on the http_simple bytes/8 benchmark appears to be slightly greater but small
enough that the possibly of it being noise cannot be excluded.

The new binary very slightly but consistently outperforms the -O3 binary (by
about 0.5%) on the mostly CPU-bound bytes/102400 benchmark. That could be an
artifact of the system I benchmarked it on, a Core 2 Duo with a puny 32 kB of
L1 instruction cache. The smaller binary seems to play nicer with the cache.
2012-07-12 16:17:25 +02:00
benchmark Merge branch 'v0.6' into v0.8 2012-07-12 03:30:04 +02:00
deps build: disable unsafe optimizations 2012-07-12 16:17:25 +02:00
doc Merge branch 'v0.6' into v0.8 2012-07-12 03:30:04 +02:00
lib domain: Remove first arg from intercepted fn 2012-07-09 09:37:46 -07:00
src Now working on 0.8.3 2012-07-09 10:25:17 -07:00
test Merge branch 'v0.8.2-release' into v0.8 2012-07-09 10:23:49 -07:00
tools tools: fix shebang in tools/doc/generate.js 2012-07-11 14:36:43 +02:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore gitignore: ignore .svn directories 2012-07-07 23:19:12 +02:00
.mailmap Add a .mailmap file, and clean up AUTHORS somewhat 2012-07-09 16:55:09 +02:00
.travis.yml test: add `.travis.yml` for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS Merge branch 'v0.6' into v0.8 2012-07-12 03:30:04 +02:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
ChangeLog Merge branch 'v0.6' into v0.8 2012-07-12 03:30:04 +02:00
LICENSE Update npm's license 2012-06-18 18:08:45 -07:00
Makefile build: Regenerate docs for tarball and releases 2012-07-10 08:02:30 -07:00
README.md docs: mention that python 2.6 or 2.7 is required 2012-01-05 16:44:22 +01:00
common.gypi build: disable unsafe optimizations 2012-07-12 16:17:25 +02:00
configure build: disable unsafe optimizations 2012-07-12 16:17:25 +02:00
node.gyp build: fix --shared-v8 option 2012-06-27 00:35:16 +02:00
vcbuild.bat vcbuild.bat: add duplicate arg-ok label to work around cmd.exe bug 2012-06-14 00:56:43 +02:00

README.md

Evented I/O for V8 javascript. Build Status

To build:

Unix/Macintosh (requires python 2.6 or 2.7):

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

Resources for Newcomers