From 1ffda3cad703d088ad73e4128e01b7f14d8f2dc1 Mon Sep 17 00:00:00 2001 From: Mohamad Homsi Date: Wed, 14 Oct 2026 09:08:13 +0300 Subject: [PATCH] http: the run scripts' root is the repository, one level up after the split --- http/run_pipelined.sh | 2 +- http/run_wrk.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 "$@"