Files
App/scripts/bench/http.sh
HiepLM 9776e29d7d
Some checks failed
Test / test (push) Has been cancelled
final TESTING
2026-06-13 14:11:42 +07:00

18 lines
459 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# shellcheck source=../lib/common.sh
source "$(dirname "$0")/../lib/common.sh"
# shellcheck source=../lib/bench.sh
source "$(dirname "$0")/../lib/bench.sh"
BASE="${1:-$LM_URL}"
echo "=== HTTP benchmark ==="
echo "URL: $BASE"
echo
bench_http_suite "$BASE"
echo
echo "=== Process ==="
ps -C lidar_manager_web -o pid,rss,vsz,pcpu,pmem,etime,cmd 2>/dev/null \
|| pgrep -af '[./]lidar_manager_web' | grep -v pgrep || true