Parallelize startup loads and trim map hover METAR candidates #19

Merged
brenno merged 1 commit from perf/startup-map-hover into perf/list-aircraft-cache 2026-06-30 23:42:15 +00:00
Owner

Summary

  • Load daylight rules, airport websites, and METAR sources in parallel at startup via Future.wait.
  • Introduce nearbyAerodromeCandidates() (50 NM) and use it for map-hover weather fetches instead of scanning all aerodromes.

Test plan

  • flutter test (412 tests)
  • Cold start: confirm app reaches home screen without regressions
  • Pan map over dense regions: hover weather should still appear for nearby fields

Retargeted to main after #18 merged.

## Summary - Load daylight rules, airport websites, and METAR sources in parallel at startup via `Future.wait`. - Introduce `nearbyAerodromeCandidates()` (50 NM) and use it for map-hover weather fetches instead of scanning all aerodromes. ## Test plan - [x] `flutter test` (412 tests) - [ ] Cold start: confirm app reaches home screen without regressions - [ ] Pan map over dense regions: hover weather should still appear for nearby fields Retargeted to `main` after #18 merged.
Load bundled registries concurrently before runApp and pass only aerodromes within 50 NM to map-marker weather fetches.

Co-authored-by: Cursor <cursoragent@cursor.com>
brenno merged commit 4499a7a6a9 into perf/list-aircraft-cache 2026-06-30 23:42:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brenno/Hiero!19
No description provided.