diff --git a/benchmarks/middleware.js b/benchmarks/middleware.js index 300b892..f13748f 100644 --- a/benchmarks/middleware.js +++ b/benchmarks/middleware.js @@ -25,4 +25,4 @@ app.use(function(next){ } }); -http.createServer(app.callback()).listen(3000); +app.listen(3333); diff --git a/benchmarks/run b/benchmarks/run index 862acb1..a278774 100755 --- a/benchmarks/run +++ b/benchmarks/run @@ -6,7 +6,7 @@ pid=$! sleep 2 -wrk 'http://localhost:3000/?foo[bar]=baz' \ +wrk 'http://localhost:3333/?foo[bar]=baz' \ -r 2000 \ -c 50 \ -t 4 \