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) {
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();
}
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);
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();