diff --git a/benchmark/http_simple.js b/benchmark/http/_http_simple.js similarity index 100% rename from benchmark/http_simple.js rename to benchmark/http/_http_simple.js diff --git a/benchmark/http/cluster.js b/benchmark/http/cluster.js index 9934883f7c..95e76e69cc 100644 --- a/benchmark/http/cluster.js +++ b/benchmark/http/cluster.js @@ -11,7 +11,7 @@ if (cluster.isMaster) { c: [50, 500] }); } else { - require('../http_simple.js'); + require('./_http_simple.js'); } function main(conf) { diff --git a/benchmark/http/simple.js b/benchmark/http/simple.js index 5449c49be9..eedda8e98f 100644 --- a/benchmark/http/simple.js +++ b/benchmark/http/simple.js @@ -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];