Skip to content

Commit

Permalink
benchmark: move http_simple.js to http directory
Browse files Browse the repository at this point in the history
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 Jul 26, 2016
1 parent ee2843b commit edbed3f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion benchmark/http/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (cluster.isMaster) {
c: [50, 500]
});
} else {
require('../http_simple.js');
require('./_http_simple.js');
}

function main(conf) {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/http/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit edbed3f

Please sign in to comment.