Permalink
Browse files

benchmark: move http_simple.js to http directory

PR-URL: #7094
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information...
AndreasMadsen committed Jan 30, 2016
1 parent ee2843b commit edbed3f3fd8b0010f3f474934ad880fa2898265a
File renamed without changes.
@@ -11,7 +11,7 @@ if (cluster.isMaster) {
c: [50, 500]
});
} else {
require('../http_simple.js');
require('./_http_simple.js');
}
function main(conf) {
@@ -12,7 +12,7 @@ var bench = common.createBenchmark(main, {
function main(conf) {
process.env.PORT = PORT;
var server = require('../http_simple.js');
var server = require('./_http_simple.js');
setTimeout(function() {
var path = '/' + conf.type + '/' + conf.length + '/' + conf.chunks;
var args = ['-d', '10s', '-t', 8, '-c', conf.c];

0 comments on commit edbed3f

Please sign in to comment.