Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
50e9fc1
Working on v1.7.2
rvagg Apr 14, 2015
e4872d7
deps: upgrade openssl to 1.0.2a
Mar 30, 2015
d293a4f
deps: fix openssl assembly error on ia32 win32
indutny Jan 8, 2014
71316c4
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
ae8831f
deps: backport openssl patch of alt cert chains 1
Jan 27, 2015
116c546
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
033a663
deps: replace all headers in openssl
Apr 10, 2015
eb7a235
deps: add x32 and arm64 support for opensslconf.h
Apr 10, 2015
02f12ab
deps: update opensslconf.h for 1.0.2a
Apr 10, 2015
418e839
deps: update openssl.gyp/gypi for openssl-1.0.2a
Mar 31, 2015
53924d8
deps: update asm Makefile for openssl-1.0.2a
Mar 31, 2015
a1c9ef3
deps, build: add support older assembler
Mar 31, 2015
11bec72
deps: update asm files for openssl-1.0.2a
Apr 10, 2015
92dfb79
build: enable ssl support on arm64
Apr 10, 2015
deb9d23
test: fix error message check for openssl-1.0.2a
Feb 5, 2015
4830b4b
deps: add docs to upgrade openssl
Mar 31, 2015
a530b2b
build: fix error message in configure
Apr 13, 2015
c7769d4
build: Expose xz compression level
jbergstroem Apr 15, 2015
12e51d5
doc: add Addon API WG
rvagg Mar 21, 2015
10e31ba
node: allow multiple arguments passed to nextTick
trevnorris Mar 5, 2015
76f219c
doc: Document forced pushing with git
jbergstroem Apr 14, 2015
62f5f4c
src: remove duplicate byteLength from Buffer
JacksonTian Apr 16, 2015
431673e
buffer: fast-case for empty string in byteLength
JacksonTian Apr 16, 2015
3ad82c3
module: handle NODE_PATH in require('.')
silverwind Apr 7, 2015
51d0808
stream: remove duplicated expression
yorkie Oct 2, 2014
91943a9
build: use %PYTHON% instead of python
rvagg Oct 16, 2014
cd60ff0
net: add fd into listen2 debug info
JacksonTian Apr 16, 2015
7956a13
http: logically respect maxSockets
fengmk2 Mar 23, 2015
5b844e1
module: fix style
silverwind Apr 17, 2015
49bb7de
deps: fix git case sensitivity issue in npm
chrisdickinson Apr 17, 2015
4870213
deps: upgrade npm to 2.8.3
othiym23 Apr 17, 2015
7de0dcd
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
ca8c9ec
win,node-gyp: optionally allow node.exe/iojs.exe to be renamed
piscisaureus Mar 25, 2015
1b22bad
build: fix logic for shared library flags
Fishrock123 Apr 17, 2015
c0f8413
2015-04-17 io.js v1.8.0 Release
chrisdickinson Apr 17, 2015
e61ee49
Working on v2.0.0
chrisdickinson Apr 17, 2015
77db7e1
Working on v1.8.1
chrisdickinson Apr 17, 2015
6870764
doc: update CONTRIBUTING.md
brendanashworth Apr 18, 2015
7180597
Revert "http: don't bother making a copy of the options"
brendanashworth Apr 18, 2015
6bf85bc
test: add test for 06cfff9 regression
brendanashworth Apr 18, 2015
53ed89d
Revert "build: use %PYTHON% instead of python"
rvagg Apr 20, 2015
f23b963
src: revert NODE_MODULE_VERSION to 43
chrisdickinson Apr 18, 2015
7b7da2e
2015-04-20 io.js v1.8.1 Release
chrisdickinson Apr 18, 2015
2f6986e
Working on v1.8.2
chrisdickinson Apr 20, 2015
59a5c98
Merge v1.8.1.
chrisdickinson Apr 21, 2015
2632775
doc: update AUTHORS list
rvagg Apr 20, 2015
b16a328
doc: add spaces to child.kill example
enaqx Apr 22, 2015
22aafa5
doc: add Fishrock123 to the TC
Fishrock123 Apr 23, 2015
a7d7463
tls_wrap: use localhost if options.host is empty
sitegui Apr 21, 2015
7384ca8
module: remove '' from Module.globalPaths
chrisyip Apr 21, 2015
bb254b5
doc: update branch to master
silverwind Apr 23, 2015
3d3083b
buffer: little improve for Buffer.concat method
JacksonTian Apr 16, 2015
1bef717
net: cleanup connect logic
evanlucas Apr 22, 2015
4abe2fa
net: add lookup option to Socket.prototype.connect
evanlucas Apr 22, 2015
5404cbc
buffer: fix copy() segfault with zero arguments
trevnorris Apr 24, 2015
b3a7da1
deps: update http_parser to 2.5.0
indutny Apr 24, 2015
f3cc50f
doc: add TC meeting 2015-04-08 minutes
rvagg Apr 22, 2015
5178f93
doc: Add Addon API (NAN) to working group list
julianduque Apr 25, 2015
bf7ac08
util: add Map and Set inspection support
monsanto Apr 20, 2015
3bda6cb
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
5472139
test: adjust Makefile/test-ci, add to vcbuild.bat
rvagg Apr 26, 2015
bfae823
test: fix test-net-dns-custom-lookup test assertion
evanlucas Apr 26, 2015
2a3c8c1
build: remove -J from test-ci
rvagg Apr 28, 2015
e55fdc4
doc: fix util.deprecate example
enaqx Apr 27, 2015
0fa6c4a
string_decoder: don't cache Buffer.isEncoding
mscdex Apr 28, 2015
391cae3
doc: Add Known issues to v1.7.0/1.7.1 CHANGELOG
yosuke-furukawa Apr 20, 2015
1bcdf46
doc: add TC meeting 2015-04-15 minutes
rvagg Apr 22, 2015
b57cc51
os: remove trailing slash from os.tmpdir()
tellnes Feb 6, 2015
36cd5fb
deps: upgrade v8 to 4.2.77.13
bnoordhuis Mar 27, 2015
db4ded5
deps: enable v8 postmortem debugging again
bnoordhuis Mar 27, 2015
01e6632
deps: upgrade v8 to 4.2.77.15
bnoordhuis Apr 11, 2015
01652c7
deps: upgrade v8 to 4.2.77.18
chrisdickinson Apr 25, 2015
509b59e
deps: enable v8 postmortem debugging again
bnoordhuis Mar 27, 2015
f9c681c
fs: validate fd on fs.write
julianduque Apr 28, 2015
f9b226c
test: extend timeouts for ARMv6
rvagg Apr 29, 2015
3c92ca2
src: add ability to get/set effective uid/gid
evanlucas Apr 27, 2015
d5ce47e
lib: deprecate the smalloc module
bnoordhuis Apr 29, 2015
609fa0d
src: fix NODE_DEPRECATED macro
bnoordhuis Apr 29, 2015
ccb199a
src: fix deprecation warnings
bnoordhuis Apr 29, 2015
7306252
src: deprecate smalloc public functions
bnoordhuis Apr 29, 2015
2d241b3
tls: destroy SSL once it is out of use
indutny Apr 26, 2015
e6874dd
crypto: track external memory for SSL structures
indutny Apr 26, 2015
2684c90
tls: zero SSL_CTX freelist for a singleUse socket
indutny Apr 26, 2015
1787416
tls: destroy singleUse context immediately
indutny Apr 27, 2015
7dc8eec
doc: deprecate smalloc module
bnoordhuis Apr 30, 2015
801b47a
gitignore: ignore xcode workspaces and projects
r-52 Apr 29, 2015
a5dcff8
build: Use option groups in configure output
jbergstroem Apr 27, 2015
0450ce7
repl: add mode detection, cli persistent history
chrisdickinson Apr 23, 2015
78f4b03
build: turn on debug-safe optimizations with -Og
bnoordhuis Apr 30, 2015
30b7349
stream_base: dispatch reqs in the stream impl
indutny Apr 29, 2015
550c263
tls: use `SSL_set_cert_cb` for async SNI/OCSP
indutny Apr 18, 2015
b4ad5d7
doc: improve http.request and https.request opts
silverwind Apr 28, 2015
56e4255
deps: upgrade npm to 2.9.0
othiym23 May 1, 2015
935c9d3
deps: make node-gyp work with io.js
cjihrig May 1, 2015
30e83d2
win,node-gyp: optionally allow node.exe/iojs.exe to be renamed
piscisaureus May 1, 2015
79a7a86
Merge branch 'v1.x'
Fishrock123 May 2, 2015
ea5195c
repl: do not save history for non-terminal repl
indutny May 1, 2015
c7782c0
node: improve nextTick performance
mscdex May 1, 2015
57c4cc2
doc: add TC meeting 2015-04-22 minutes
rvagg Apr 29, 2015
3fd7fc4
url: significantly improve the performance of the url module
petkaantonov Mar 23, 2015
02388db
doc: fix some cross-references
gromnitsky May 2, 2015
2e2fce0
repl: fix persistent history and env variable name
silverwind May 2, 2015
2a3a190
doc: add require() lines to child.stdio example
enaqx Apr 22, 2015
b4f5898
net: ensure Write/ShutdownWrap references handle
indutny May 2, 2015
dbdd81a
url: delete href cache on all setter code paths
petkaantonov May 2, 2015
6687721
url: fix treatment of some values as non-empty
petkaantonov May 3, 2015
0f39ef4
Revert "url: fix treatment of some values as non-empty"
rvagg May 3, 2015
0daed24
Revert "url: delete href cache on all setter code paths"
rvagg May 3, 2015
702997c
Revert "url: significantly improve the performance of the url module"
rvagg May 3, 2015
dacc1fa
doc: update AUTHORS list
rvagg May 2, 2015
f7620fb
tls_wrap: Unlink TLSWrap and SecureContext objects
ChALkeR May 1, 2015
279f611
src: fix -Wmissing-field-initializers warning
bnoordhuis May 4, 2015
e67542a
build: disable -Og when building with clang
bnoordhuis May 4, 2015
051d482
repl: fix _debugger by properly proxying repl
chrisdickinson May 4, 2015
ca219b0
repl: fix for a+ fd clearing the file on read
chrisdickinson May 4, 2015
69581b2
build: don't compile debug build with -Og
bnoordhuis May 4, 2015
ac1fb39
doc: add rvagg to the TC
rvagg May 4, 2015
c1b9913
src: bump NODE_MODULE_VERSION due to V8 API
rvagg May 4, 2015
7c89c4c
2015-05-04 io.js v2.0.0 Release
rvagg Apr 29, 2015
3dafdc5
Working on v2.0.1
rvagg May 4, 2015
f696c9e
src: fix deprecated use of Buffer::New()
bnoordhuis May 1, 2015
2ed10f1
src: fix minor inefficiency in Buffer::New() call
bnoordhuis May 1, 2015
4f7e2de
Merge branch 'master' into next
chrisdickinson May 5, 2015
e6c48b7
test: remove obsolete harmony flags
chrisdickinson May 5, 2015
c554f95
deps: upgrade to v8 4.3.61.17
chrisdickinson May 5, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ deps/zlib/zlib.target.mk
tools/faketime
icu_config.gypi
test.tap

# Xcode workspaces and project folders
*.xcodeproj
*.xcworkspace
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Ray Morgan <[email protected]>
Ray Solomon <[email protected]>
Raymond Feng <[email protected]> <[email protected]>
Rick Olson <[email protected]>
Roman Klauke <[email protected]> <[email protected]>
Roman Reiss <[email protected]>
Ryan Dahl <[email protected]>
Ryan Emery <[email protected]>
Expand Down
9 changes: 8 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ Rohini Harendra <[email protected]>
Chris Barber <[email protected]>
Michael Kebe <[email protected]>
Nick Muerdter <[email protected]>
Roman Klauke <[email protected].com>
Roman Klauke <romaaan.git@gmail.com>
Xavi Magrinyà <[email protected]>
Euan <[email protected]>
Ed Morley <[email protected]>
Expand Down Expand Up @@ -744,5 +744,12 @@ Giovanny Andres Gongora Granada <[email protected]>
Jeffrey Jagoda <[email protected]>
Kelsey Breseman <[email protected]>
Peter Petrov <[email protected]>
Andrew Crites <[email protected]>
Marat Abdullin <[email protected]>
Dan Varga <[email protected]>
Nick Raienko <[email protected]>
Guilherme Souza <[email protected]>
Chris Yip <[email protected]>
Christopher Monsanto <[email protected]>

# Generated by tools/update-authors.sh
235 changes: 234 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ $ git rebase --abort
Checkout proper target branch

```text
$ git checkout v1.x
$ git checkout master
```

Update the tree

```text
$ git fetch origin
$ git merge --ff-only origin/v1.x
$ git merge --ff-only origin/master
```

Apply external patches
Expand All @@ -138,21 +138,21 @@ $ curl -L https://github.com/iojs/io.js/pull/xxx.patch | git am --whitespace=fix
Check and re-review the changes

```text
$ git diff origin/v1.x
$ git diff origin/master
```

Check number of commits and commit messages

```text
$ git log origin/v1.x...v1.x
$ git log origin/master...master
```

If there are multiple commits that relate to the same feature or
one with a feature and separate with a test for that feature -
you'll need to squash them (or strictly speaking `fixup`).

```text
$ git rebase -i origin/v1.x
$ git rebase -i origin/master
```

This will open a screen like this (in the default shell editor):
Expand Down Expand Up @@ -210,5 +210,16 @@ line.
Time to push it:

```text
$ git push origin v1.x
$ git push origin master
```

### I just made a mistake

With git, there's a way to override remote trees by force pushing
(`git push -f`). This should generally be seen as forbidden (since
you're rewriting history on a repository other people are working
against) but is allowed for simpler slip-ups such as typos in commit
messages. However, you are only allowed to force push to any io.js
branch within 10 minutes from your original push. If someone else
pushes to the branch your commit lives in or the 10 minute period
passes, consider the commit final.
22 changes: 7 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,8 @@ $ git remote add upstream git://github.com/iojs/io.js.git

#### Which branch?

Now decide if you want your feature or bug fix to go into the master branch
or the stable branch. As a rule of thumb, bug fixes go into the stable branch
while new features go into the master branch.

The stable branch is effectively frozen; patches that change the io.js
API/ABI or affect the run-time behavior of applications get rejected. The
current stable branch is set as the default branch on GitHub.
For developing new features and bug fixes, the `master` branch should be pulled
and built upon.

#### Respect the stability index

Expand All @@ -49,7 +44,7 @@ The rules for the master branch are less strict; consult the

In a nutshell, modules are at varying levels of API stability. Bug fixes are
always welcome but API or behavioral changes to modules at stability level 3
and up are off-limits.
(Locked) are off-limits.

#### Dependencies

Expand All @@ -71,12 +66,9 @@ does not align with the project team.
Create a feature branch and start hacking:

```text
$ git checkout -b my-feature-branch -t origin/v1.x
$ git checkout -b my-feature-branch -t origin/master
```

(Where `v1.x` is the latest stable branch as of this writing.)


### Step 3: Commit

Make sure git knows your name and email address:
Expand Down Expand Up @@ -123,7 +115,7 @@ Use `git rebase` (not `git merge`) to sync your work from time to time.

```text
$ git fetch upstream
$ git rebase upstream/v1.x # or upstream/master
$ git rebase upstream/master
```


Expand All @@ -147,10 +139,10 @@ can use this syntax to run it exactly as the test harness would:
$ python tools/test.py -v --mode=release parallel/test-stream2-transform
```

You can run tests directly with node:
You can run tests directly with iojs:

```text
$ node ./test/parallel/test-streams2-transform.js
$ iojs ./test/parallel/test-streams2-transform.js
```


Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ test-all-valgrind: test-build
$(PYTHON) tools/test.py --mode=debug,release --valgrind

test-ci:
$(PYTHON) tools/test.py -p tap --logfile test.tap -J parallel sequential message
$(PYTHON) tools/test.py -p tap --logfile test.tap --mode=release message parallel sequential
$(MAKE) jslint
$(MAKE) cpplint

test-release: test-build
$(PYTHON) tools/test.py --mode=release
Expand Down Expand Up @@ -223,6 +225,7 @@ TARBALL=$(TARNAME).tar
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
BINARYTAR=$(BINARYNAME).tar
XZ=$(shell which xz > /dev/null 2>&1; echo $$?)
XZ_COMPRESSION ?= 9
PKG=out/$(TARNAME).pkg
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker

Expand Down Expand Up @@ -296,7 +299,7 @@ $(TARBALL): release-only $(NODE_EXE) doc
rm -rf $(TARNAME)
gzip -c -f -9 $(TARNAME).tar > $(TARNAME).tar.gz
ifeq ($(XZ), 0)
xz -c -f -9 $(TARNAME).tar > $(TARNAME).tar.xz
xz -c -f -$(XZ_COMPRESSION) $(TARNAME).tar > $(TARNAME).tar.xz
endif
rm $(TARNAME).tar

Expand All @@ -314,7 +317,7 @@ $(BINARYTAR): release-only
rm -rf $(BINARYNAME)
gzip -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.gz
ifeq ($(XZ), 0)
xz -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.xz
xz -c -f -$(XZ_COMPRESSION) $(BINARYNAME).tar > $(BINARYNAME).tar.xz
endif
rm $(BINARYNAME).tar

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,11 @@ information about the governance of the io.js project, see
- Release GPG key: 9554F04D7259F04124DE6B476D5A82AC7E37093B
* **Colin Ihrig** ([@cjihrig](https://github.com/cjihrig)) &lt;[email protected]&gt;
* **Mikeal Rogers** ([@mikeal](https://github.com/mikeal)) &lt;[email protected]&gt;
* **Rod Vagg** ([@rvagg](https://github.com/rvagg)) &lt;[email protected]&gt;
* **Rod Vagg** ([@rvagg](https://github.com/rvagg)) &lt;[email protected]&gt; (Technical Committee)
- Release GPG key: DD8F2338BAE7501E3DD5AC78C273792F7D83545D
* **Thorsten Lorenz** ([@thlorenz](https://github.com/thlorenz)) &lt;[email protected]&gt;
* **Stephen Belanger** ([@qard](https://github.com/qard)) &lt;[email protected]&gt;
* **Jeremiah Senkpiel** ([@fishrock123](https://github.com/fishrock123)) &lt;[email protected]&gt;
* **Jeremiah Senkpiel** ([@fishrock123](https://github.com/fishrock123)) &lt;[email protected]&gt; (Technical Committee)
- Release GPG key: FD3A5288F042B6850C66B31F09FE44734EB7990E
* **Evan Lucas** ([@evanlucas](https://github.com/evanlucas)) &lt;[email protected]&gt;
* **Brendan Ashworth** ([@brendanashworth](https://github.com/brendanashworth)) &lt;[email protected]&gt;
Expand Down
28 changes: 27 additions & 1 deletion WORKING_GROUPS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# io.js Working Groups

io.js Working Groups are autonomous projects created by the
[Technical Committee (TC)](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#technical-committee).
[Technical Committee (TC)](https://github.com/iojs/io.js/blob/master/GOVERNANCE.md#technical-committee).

Working Groups can be formed at any time but must be ratified by the TC.
Once formed the work defined in the Working Group charter is the
Expand All @@ -26,6 +26,7 @@ back in to the TC.
* [Evangelism](#evangelism)
* [Roadmap](#roadmap)
* [Docker](#docker)
* [Addon API](#addon-api)
* [Starting a Working Group](#starting-a-wg)
* [Bootstrap Governance](#bootstrap-governance)

Expand Down Expand Up @@ -179,6 +180,31 @@ Their responsibilities are:
* Maintain and improve the images' documentation.


### [Addon API](https://github.com/iojs/nan)

The Addon API Working Group is responsible for maintaining the NAN project and
corresponding _nan_ package in npm. The NAN project makes available an
abstraction layer for native add-on authors for both Node.js and io.js,
assisting in the writing of code that is compatible with many actively used
versions of Node.js, io.js, V8 and libuv.

Their responsibilities are:

* Maintaining the [NAN](https://github.com/iojs/nan) GitHub repository,
including code, issues and documentation.
* Maintaining the [addon-examples](https://github.com/iojs/node-addon-examples)
GitHub repository, including code, issues and documentation.
* Maintaining the C++ Addon API within the io.js project, in subordination to
the io.js TC.
* Maintaining the Addon documentation within the io.js project, in
subordination to the io.js TC.
* Maintaining the _nan_ package in npm, releasing new versions as appropriate.
* Messaging about the future of the io.js and NAN interface to give the
community advance notice of changes.

The current members can be found in their
[README](https://github.com/iojs/nan#collaborators).

## Starting a WG

A Working Group is established by first defining a charter that can be
Expand Down
37 changes: 37 additions & 0 deletions benchmark/misc/next-tick-breadth-args.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
'use strict';

var common = require('../common.js');
var bench = common.createBenchmark(main, {
millions: [2]
});

function main(conf) {
var N = +conf.millions * 1e6;
var n = 0;

function cb1(arg1) {
n++;
if (n === N)
bench.end(n / 1e6);
}
function cb2(arg1, arg2) {
n++;
if (n === N)
bench.end(n / 1e6);
}
function cb3(arg1, arg2, arg3) {
n++;
if (n === N)
bench.end(n / 1e6);
}

bench.start();
for (var i = 0; i < N; i++) {
if (i % 3 === 0)
process.nextTick(cb3, 512, true, null);
else if (i % 2 === 0)
process.nextTick(cb2, false, 5.1);
else
process.nextTick(cb1, 0);
}
}
48 changes: 48 additions & 0 deletions benchmark/misc/next-tick-depth-args.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
'use strict';

var common = require('../common.js');
var bench = common.createBenchmark(main, {
millions: [2]
});

process.maxTickDepth = Infinity;

function main(conf) {
var n = +conf.millions * 1e6;

function cb3(arg1, arg2, arg3) {
if (--n) {
if (n % 3 === 0)
process.nextTick(cb3, 512, true, null);
else if (n % 2 === 0)
process.nextTick(cb2, false, 5.1);
else
process.nextTick(cb1, 0);
} else
bench.end(+conf.millions);
}
function cb2(arg1, arg2) {
if (--n) {
if (n % 3 === 0)
process.nextTick(cb3, 512, true, null);
else if (n % 2 === 0)
process.nextTick(cb2, false, 5.1);
else
process.nextTick(cb1, 0);
} else
bench.end(+conf.millions);
}
function cb1(arg1) {
if (--n) {
if (n % 3 === 0)
process.nextTick(cb3, 512, true, null);
else if (n % 2 === 0)
process.nextTick(cb2, false, 5.1);
else
process.nextTick(cb1, 0);
} else
bench.end(+conf.millions);
}
bench.start();
process.nextTick(cb1, true);
}
Loading