diff --git a/benchmark/http/simple.js b/benchmark/http/simple.js index 8a1be980520..13af9669f40 100644 --- a/benchmark/http/simple.js +++ b/benchmark/http/simple.js @@ -5,6 +5,7 @@ var bench = common.createBenchmark(main, { // unicode confuses ab on os x. type: ['bytes', 'buffer'], length: [4, 1024, 102400], + chunks: [0, 1, 4], // chunks=0 means 'no chunked encoding'. c: [50, 500] }); @@ -13,7 +14,7 @@ function main(conf) { var spawn = require('child_process').spawn; var server = require('../http_simple.js'); setTimeout(function() { - var path = '/' + conf.type + '/' + conf.length; //+ '/' + conf.chunks; + var path = '/' + conf.type + '/' + conf.length + '/' + conf.chunks; var args = ['-r', 5000, '-t', 8, '-c', conf.c]; bench.http(path, args, function() {