final TESTING
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2026-06-13 14:11:42 +07:00
parent c05b1d5f5c
commit 9776e29d7d
24 changed files with 434 additions and 392 deletions

17
scripts/bench/http.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/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