Files
tdc114plus/scripts/perf_smoke.sh
T

17 lines
454 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
APP_DIR="$ROOT_DIR/app"
if [ ! -d "$APP_DIR" ]; then
echo "app directory does not exist: $APP_DIR" >&2
exit 1
fi
echo "perf smoke scaffold"
echo "- app directory: $APP_DIR"
echo "- dart files: $(find "$APP_DIR/lib" -name '*.dart' | wc -l)"
echo "- test files: $(find "$APP_DIR/test" -name '*.dart' | wc -l)"
echo "No runtime performance probe is implemented yet."