From edbed3f3fd8b0010f3f474934ad880fa2898265a Mon Sep 17 00:00:00 2001 From: Andreas Madsen Date: Sat, 30 Jan 2016 14:07:45 +0100 Subject: [PATCH] benchmark: move http_simple.js to http directory PR-URL: https://github.com/nodejs/node/pull/7094 Reviewed-By: Trevor Norris Reviewed-By: Jeremiah Senkpiel Reviewed-By: Brian White Reviewed-By: Anna Henningsen --- benchmark/{http_simple.js => http/_http_simple.js} | 0 benchmark/http/cluster.js | 2 +- benchmark/http/simple.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename benchmark/{http_simple.js => http/_http_simple.js} (100%) 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];