summaryrefslogtreecommitdiff
path: root/benchmark/process_loop.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2009-10-07 10:24:50 +0200
committerRyan Dahl <ry@tinyclouds.org>2009-10-07 10:24:50 +0200
commit1a2762b78e496dac4cc9fd0fb4ffb1d4f036692b (patch)
treecdef5a0cb4ee31394fc063548156fe9c6ebfe662 /benchmark/process_loop.js
parentabbc624f52defe1fcf3972eb5d0e7cb734f51705 (diff)
downloadnodejs-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.js2
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);