diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-10-07 10:24:50 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-10-07 10:24:50 +0200 |
commit | 1a2762b78e496dac4cc9fd0fb4ffb1d4f036692b (patch) | |
tree | cdef5a0cb4ee31394fc063548156fe9c6ebfe662 /benchmark/process_loop.js | |
parent | abbc624f52defe1fcf3972eb5d0e7cb734f51705 (diff) | |
download | nodejs-1a2762b78e496dac4cc9fd0fb4ffb1d4f036692b.tar.gz nodejs-1a2762b78e496dac4cc9fd0fb4ffb1d4f036692b.tar.bz2 nodejs-1a2762b78e496dac4cc9fd0fb4ffb1d4f036692b.zip |
Update benchmarks with new createChildProcess API
Diffstat (limited to 'benchmark/process_loop.js')
-rw-r--r-- | benchmark/process_loop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/process_loop.js b/benchmark/process_loop.js index e338ad380..6f4d07ea9 100644 --- a/benchmark/process_loop.js +++ b/benchmark/process_loop.js @@ -4,7 +4,7 @@ node.mixin(require("/utils.js")); function next (i) { if (i <= 0) return; - var child = node.createChildProcess("echo hello"); + var child = node.createChildProcess("echo", ["hello"]); child.addListener("output", function (chunk) { if (chunk) print(chunk); |