diff --git a/http/run_pipelined.sh b/http/run_pipelined.sh index 5016a0f..383ac75 100755 --- a/http/run_pipelined.sh +++ b/http/run_pipelined.sh @@ -1,6 +1,6 @@ #!/bin/sh # Usage: bench/http/run_pipelined.sh "CORES..." — wrk with 16 pipelined requests per write. -cd "$(dirname "$0")/../.." || exit 1 +cd "$(dirname "$0")/.." || exit 1 for cores in ${1:-1 2 4}; do for route in /plaintext /json; do for srv in anvil fasthttp net/http; do diff --git a/http/run_wrk.sh b/http/run_wrk.sh index eb557fd..287c14d 100755 --- a/http/run_wrk.sh +++ b/http/run_wrk.sh @@ -1,4 +1,4 @@ #!/bin/sh # Usage: bench/http/run_wrk.sh CORES WRK_THREADS CONNS SECONDS ROUNDS [--base-api PATH --head-api PATH] -root="$(cd "$(dirname "$0")/../.." && pwd)" +root="$(cd "$(dirname "$0")/.." && pwd)" cd "$root" && exec sh tools/ci/tin.sh http/run_wrk.tin "$@"