summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/http/chunked.js2
-rw-r--r--benchmark/http/cluster.js3
-rw-r--r--benchmark/http/end-vs-write-end.js2
-rw-r--r--benchmark/http/simple.js2
4 files changed, 4 insertions, 5 deletions
diff --git a/benchmark/http/chunked.js b/benchmark/http/chunked.js
index bead074dc1..0589ff3166 100644
--- a/benchmark/http/chunked.js
+++ b/benchmark/http/chunked.js
@@ -21,7 +21,7 @@ function main(conf) {
var chunk = new Buffer(conf.size);
chunk.fill('8');
- var args = ['-r', 5000, '-t', 8, '-c', conf.c];
+ var args = ['-d', '10s', '-t', 8, '-c', conf.c];
var server = http.createServer(function(req, res) {
function send(left) {
diff --git a/benchmark/http/cluster.js b/benchmark/http/cluster.js
index 12bb8d5946..6391704ff7 100644
--- a/benchmark/http/cluster.js
+++ b/benchmark/http/cluster.js
@@ -26,8 +26,7 @@ function main(conf) {
setTimeout(function() {
var path = '/' + conf.type + '/' + conf.length;
- var args = ['-r', '-t', 5, '-c', conf.c, '-k'];
- var args = ['-r', 5000, '-t', 8, '-c', conf.c];
+ var args = ['-d', '10s', '-t', 8, '-c', conf.c];
bench.http(path, args, function() {
w1.destroy();
diff --git a/benchmark/http/end-vs-write-end.js b/benchmark/http/end-vs-write-end.js
index 06fce6f468..973f23afa9 100644
--- a/benchmark/http/end-vs-write-end.js
+++ b/benchmark/http/end-vs-write-end.js
@@ -45,7 +45,7 @@ function main(conf) {
}
var method = conf.method === 'write' ? write : end;
- var args = ['-r', 5000, '-t', 8, '-c', conf.c];
+ var args = ['-d', '10s', '-t', 8, '-c', conf.c];
var server = http.createServer(function(req, res) {
method(res);
diff --git a/benchmark/http/simple.js b/benchmark/http/simple.js
index 13af9669f4..5bff9283cb 100644
--- a/benchmark/http/simple.js
+++ b/benchmark/http/simple.js
@@ -15,7 +15,7 @@ function main(conf) {
var server = require('../http_simple.js');
setTimeout(function() {
var path = '/' + conf.type + '/' + conf.length + '/' + conf.chunks;
- var args = ['-r', 5000, '-t', 8, '-c', conf.c];
+ var args = ['-d', '10s', '-t', 8, '-c', conf.c];
bench.http(path, args, function() {
server.close();