18 lines
459 B
Bash
Executable File
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
|