File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -271,19 +271,6 @@ jobs:
271271 run : |
272272 set -e # Exit on any error
273273 echo "🏃 Running benchmark suite..."
274- echo "Script: spec/performance/bench.sh"
275- echo ""
276- echo "Benchmark parameters:"
277- echo " - RATE: ${RATE}"
278- echo " - DURATION_SEC: ${DURATION_SEC}"
279- echo " - REQUEST_TIMEOUT: ${REQUEST_TIMEOUT}"
280- echo " - CONNECTIONS: ${CONNECTIONS}"
281- echo " - MAX_CONNECTIONS: ${MAX_CONNECTIONS}"
282- echo " - WEB_CONCURRENCY: ${WEB_CONCURRENCY}"
283- echo " - RAILS_MAX_THREADS: ${RAILS_MAX_THREADS}"
284- echo " - RAILS_MIN_THREADS: ${RAILS_MIN_THREADS}"
285- echo " - TOOLS: ${TOOLS}"
286- echo ""
287274
288275 if ! spec/performance/bench.sh; then
289276 echo "❌ ERROR: Benchmark execution failed"
Original file line number Diff line number Diff line change @@ -56,6 +56,18 @@ for cmd in ${TOOLS//,/ } jq column awk tee bc; do
5656 fi
5757done
5858
59+ echo " Benchmark parameters:
60+ - RATE: ${RATE:- unset}
61+ - DURATION_SEC: ${DURATION_SEC:- unset}
62+ - REQUEST_TIMEOUT: ${REQUEST_TIMEOUT:- unset}
63+ - CONNECTIONS: ${CONNECTIONS:- unset}
64+ - MAX_CONNECTIONS: ${MAX_CONNECTIONS:- unset}
65+ - WEB_CONCURRENCY: ${WEB_CONCURRENCY:- unset}
66+ - RAILS_MAX_THREADS: ${RAILS_MAX_THREADS:- unset}
67+ - RAILS_MIN_THREADS: ${RAILS_MIN_THREADS:- unset}
68+ - TOOLS: ${TOOLS:- unset}
69+ "
70+
5971TIMEOUT_SEC=60
6072START=$( date +%s)
6173until curl -fsS " $TARGET " > /dev/null; do
You can’t perform that action at this time.
0 commit comments