mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-26 04:26:26 +02:00
4a14a2f078
Optimizations: - Parallelized yfinance stock/oil fetches via ThreadPoolExecutor (~2s vs ~8s) - AIS backoff reset after 200 successes; removed hot-loop pruning (lock contention) - Single-pass ETag serialization (was double-serializing JSON) - Deferred ~50 non-critical map icons via setTimeout(0) - News feed animation capped at 15 items (was 100+ simultaneous) - heapq.nlargest() for FIRMS fires (60K→5K) and internet outages - Removed satellite duplication from fast endpoint - Geopolitics interval 5min → 30min - Ship counts single-pass memoized; color maps module-level constants - Improved GDELT URL-to-headline extraction (skip gibberish slugs) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>