aprs.me/test/aprsme_web/live/map_live
Graham McIntire a8e7b17ee1
Optimize test suite performance - 32.5% faster execution
Reduced test execution time from 21.2s to 14.3s through multiple optimizations:

1. Reduced test data size:
   - Memory efficiency test: 5000→1000 packets, smaller payloads (saved ~3.2s)
   - More focused test scenarios without sacrificing coverage

2. Reduced sleep times across test suite:
   - GPS movement tests: 100-500ms → 10-100ms
   - Broadcast supervisor tests: 50ms → 10ms
   - Packet consumer tests: 100-500ms → 20-50ms
   - Saved ~1-2 seconds total

3. Enabled parallel test execution:
   - Set max_cases to System.schedulers_online() * 2
   - Made DeviceIdentificationTest async
   - Made PasscodeTest and ConvertTest async
   - Better CPU utilization

4. Reduced assertion timeouts:
   - Changed from 1000ms to 200-500ms where appropriate
   - Faster failure detection

These optimizations maintain test reliability while significantly reducing
execution time. The occasional timing-sensitive LiveView test failures are
addressed with slightly more generous timeouts where needed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 09:23:07 -05:00
..
callsign_view_test.exs integrate /:call to main page 2025-07-13 10:36:58 -05:00
index_test.exs historical packets working again 2025-06-28 11:34:15 -05:00
map_helpers_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
movement_test.exs Optimize test suite performance - 32.5% faster execution 2025-07-21 09:23:07 -05:00
overlay_rendering_test.exs refactor and performance improvements 2025-07-10 10:53:34 -05:00
packet_utils_test.exs integrate /:call to main page 2025-07-13 10:36:58 -05:00
performance_test.exs refactor and performance improvements 2025-07-10 10:53:34 -05:00
rf_path_test.exs fix stations that heard call 2025-07-13 18:55:51 -05:00