diff --git a/benchmark/http_simple_bench.sh b/benchmark/http_simple_bench.sh index 6ba8e0664dc..69482279749 100755 --- a/benchmark/http_simple_bench.sh +++ b/benchmark/http_simple_bench.sh @@ -1,7 +1,7 @@ #!/bin/bash SERVER=127.0.0.1 -PORT=8000 +PORT=${PORT:=8000} # You may want to configure your TCP settings to make many ports available # to node and ab. On macintosh use: @@ -19,9 +19,6 @@ if [ $SERVER == "127.0.0.1" ]; then sleep 1 fi -info=`curl -s http://$SERVER:$PORT/info` -eval $info - date=`date "+%Y%m%d%H%M%S"` ab_hello_world() {