You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added `ayanamsa: str | None = None` (only used for sidereal)
247
253
- Smart `__post_init__` validation: defaults to "lahiri" if sidereal but no ayanamsa specified
248
254
249
-
- Removed get_stats() (cache) call from metadata for every chart calculate() -- this was causing massive slowdowns because it was scanning the entire cache file collection EVERY time. Now considerably faster to make charts.
255
+
### Fixed
256
+
257
+
#### Major Performance Improvement (November 27, 2025)
258
+
259
+
-**60x Faster Chart Calculations**: Removed expensive `get_stats()` call from `ChartBuilder.calculate()`
260
+
-**Root cause**: `get_stats()` was scanning 100,000+ cache files with `rglob("*.pickle")` on EVERY chart calculation
261
+
-**Impact**: Each chart was taking ~1000ms instead of ~10ms
262
+
-**Fix**: Removed automatic cache stats from chart metadata (rarely needed, now available via `stellium.utils.cache.get_cache_stats()`)
263
+
-**Result**: Full test suite dropped from ~5 minutes to ~5 seconds
0 commit comments