Node.js JavaScript runtime 🐢🚀
Go to file
Ben Noordhuis 0aa13357d6 timers: dispatch ontimeout callback by array index
Achieve a minor speed-up by looking up the timeout callback on the timer
object by using an array index rather than a named property.

Gives a performance boost of about 1% on the misc/timers benchmarks.
2013-08-15 19:33:34 +02:00
benchmark benchmark: update misc to new v8 API 2013-08-01 15:02:38 -07:00
deps v8: fix openbsd build 2013-08-10 16:28:18 +02:00
doc smalloc: allow different external array types 2013-08-07 12:53:24 -07:00
lib timers: dispatch ontimeout callback by array index 2013-08-15 19:33:34 +02:00
src timers: dispatch ontimeout callback by array index 2013-08-15 19:33:34 +02:00
test http: speed up callbacks, use array indices 2013-08-14 18:08:04 +02:00
tools tools: cpplint: fix NOLINT(build/include_order) 2013-08-15 14:21:41 +02:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore tools: Add wrk for benchmarking http servers 2013-02-19 17:16:18 -08:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
android-configure build: add android support 2013-06-17 17:21:56 +02:00
AUTHORS 2013.08.06, Version 0.11.5 (Unstable) 2013-08-06 14:41:21 -07:00
BSDmakefile Tell BSD users to run gmake instead. 2011-07-11 14:17:23 +02:00
ChangeLog 2013.08.06, Version 0.11.5 (Unstable) 2013-08-06 14:41:21 -07:00
common.gypi build: disable some msvc compiler warnings 2013-08-01 11:53:41 +02:00
configure build: disable SSLv2 by default 2013-08-10 15:46:06 +02:00
CONTRIBUTING.md doc: clarify subsystems in CONTRIBUTING.md 2013-05-14 12:31:38 +02:00
LICENSE Merge remote-tracking branch 'upstream/v0.10' 2013-08-06 11:59:17 -07:00
Makefile build: make ninja build respect V= 2013-08-10 13:18:07 +02:00
node.gyp tls_wrap: DRY ClientHelloParser 2013-08-06 16:13:01 +04:00
README.md doc: remove travis status image 2013-07-31 21:50:09 +02:00
vcbuild.bat build: vcbuild.bat fix for Visual Studio 2012 2013-05-03 11:32:32 +02:00

Evented I/O for V8 javascript.

To build:

Prerequisites (Unix only):

* GCC 4.2 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./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