# Lighthouse protocol for Flutter web Detta dokument implementerar en reproducerbar baseline/eftermatning enligt planen i `.kilo/plans/1779550355555-hidden-mountain.md`. ## 1) Fast matprofil (anvand samma varje gang) - URL: samma exakta URL per miljo (`http://localhost:5000` respektive produktion). - Form factor: `mobile`. - Lighthouse-kategorier: `performance`, `accessibility`, `seo`. - Antal korningar: minst 3 per miljo. - Throttling: `simulate` (Lighthouse standard, konstant mellan korningar). ## 2) Korningar Lokal container: ```bash docker compose -f compose.yml -f compose.flutter.yml up -d --build recipe-api recipe-flutter node flutter/lighthouse/collect.mjs --url http://localhost:5000 --label local-baseline --runs 3 --form-factor mobile ``` Produktion: ```bash node flutter/lighthouse/collect.mjs --url https://DIN-DOMAN --label prod-baseline --runs 3 --form-factor mobile ``` Resultat skrivs till `flutter/lighthouse/results/` som: - `