go.ligato.io/vpp-agent/v3@v3.5.0/tests/perf/run_all.sh (about) 1 #!/bin/bash 2 set -euo pipefail 3 4 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 cd $SCRIPT_DIR 6 7 function run() { 8 test="${1}" 9 typ="${2-basic}" 10 requests="${3-${REQUESTS-1000}}" 11 12 export DEBUG_ENABLED=y 13 export REPORT_DIR="${reports}/${test}_${requests}_${typ}" 14 ./perf_test.sh "$test" "$requests" 15 } 16 17 export reports="${SCRIPT_DIR}/reports" 18 19 run "grpc-perf" 20 21 export CLIENT_PARAMS="--with-ips" 22 run "grpc-perf" "ips"