Deploy to Production / Build & Verify (push) Failing after 5m56s
Ping Search Engines / Notify Search Engines (push) Successful in 2s
Deploy to Production / Pre-Deploy Tests (push) Has been skipped
Deploy to Production / Deploy to Railway (push) Has been skipped
Deploy to Production / Deploy to Render (push) Has been skipped
Deploy to Production / Deploy to VPS (PM2) (push) Has been skipped
Deploy to Production / Deploy to Fly.io (push) Has been skipped
Deploy to Production / Post-Deploy Verification (push) Has been skipped
Deploy to Production / Notify on Failure (push) Successful in 2s
E2E Test Suite / Critical User Journeys (push) Has been skipped
E2E Test Suite / API Integration Tests (push) Has been skipped
E2E Test Suite / Smoke Tests (P0) (push) Failing after 11m26s
E2E Test Suite / Form Interaction Tests (push) Failing after 11m42s
E2E Test Suite / Destructive & Chaos Tests (push) Failing after 12m2s
E2E Test Suite / Cross-Browser Regression (chromium) (push) Failing after 16m14s
E2E Test Suite / Cross-Browser Regression (webkit) (push) Failing after 17m45s
E2E Test Suite / Cross-Browser Regression (firefox) (push) Failing after 25m23s
E2E Test Suite / Security Header Tests (push) Failing after 7m55s
E2E Test Suite / Test Report Summary (push) Failing after 20s
E2E Test Suite / Mobile Device Tests (push) Failing after 2h49m9s
Uptime Monitor / Health & Response Time (push) Failing after 2s
Uptime Monitor / SSL Certificate (push) Successful in 2s
Uptime Monitor / Send Alerts (push) Failing after 3s
Uptime Monitor / Record Uptime Success (push) Has been skipped
52 lines
1.3 KiB
Bash
52 lines
1.3 KiB
Bash
#!/bin/bash
|
|
# Quick Performance Check Script
|
|
# Tests key endpoints and reports response times
|
|
|
|
echo "============================================================"
|
|
echo "QUICK PERFORMANCE CHECK"
|
|
echo "============================================================"
|
|
echo ""
|
|
|
|
BASE_URL="${1:-http://localhost:10000}"
|
|
echo "Testing: $BASE_URL"
|
|
echo ""
|
|
|
|
# Test endpoints
|
|
ENDPOINTS=(
|
|
"/"
|
|
"/contact"
|
|
"/about"
|
|
"/api/health.json"
|
|
)
|
|
|
|
echo "Endpoint Performance:"
|
|
echo "------------------------------------------------------------"
|
|
|
|
for endpoint in "${ENDPOINTS[@]}"; do
|
|
url="${BASE_URL}${endpoint}"
|
|
|
|
# Run curl and capture timing
|
|
time_total=$(curl -w "%{time_total}" -o /dev/null -s "$url")
|
|
http_code=$(curl -w "%{http_code}" -o /dev/null -s "$url")
|
|
|
|
# Convert to milliseconds
|
|
time_ms=$(echo "$time_total * 1000" | bc)
|
|
|
|
# Determine status
|
|
if (( $(echo "$time_total < 0.2" | bc -l) )); then
|
|
status="EXCELLENT"
|
|
elif (( $(echo "$time_total < 0.5" | bc -l) )); then
|
|
status="GOOD"
|
|
else
|
|
status="SLOW"
|
|
fi
|
|
|
|
printf "%-30s %6.2fms [%s] (HTTP %s)\n" "$endpoint" "$time_ms" "$status" "$http_code"
|
|
done
|
|
|
|
echo ""
|
|
echo "============================================================"
|
|
echo "Performance Target: < 500ms"
|
|
echo "Optimal: < 200ms"
|
|
echo "============================================================"
|