Skip to content

Refactor Forecasting Algorithm - #49

Merged
SchrodingersGat merged 3 commits into
mainfrom
refactor
Jul 26, 2026
Merged

Refactor Forecasting Algorithm#49
SchrodingersGat merged 3 commits into
mainfrom
refactor

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Refactor search and caching algorithms to significantly reduce number of database hits.

Performance Comparisons

Part Before (main) After (fully refactored) Change
Component 1 81 45 -44%
Component 2 118 ⚠️ 40 -66%
Component 3 117 ⚠️ 44 -62%
Component 4 63 34 -46%
Sub-Assembly 1 (M1) 55 29 -47%
Sub-Assembly 2 (M2) 80 33 -59%
Sub-Assembly 3 (M3) 47 27 -43%
Sub-Assembly 4 (M4, orphan) 22 20 -9%
Module 1 (N1) 51 25 -51%
Module 2 (N2) 35 20 -43%
Module 3 (N3, orphan) 16 16 0%
Product 1 (TOP1) 28 16 -43%
Product 2 (TOP2) 25 17 -32%
Deep 0 149 ⚠️ 55 -63%
Deep 0B 134 ⚠️ 55 -59%
Deep 0C 128 ⚠️ 51 -60%
Deep 1 128 ⚠️ 51 -60%
Deep 2 122 ⚠️ 47 -61%
Deep 3 115 ⚠️ 43 -63%
Deep 4 109 ⚠️ 39 -64%
Deep 5 73 32 -56%
Deep 5B 52 32 -38%
Deep 6 46 28 -39%
Deep 7 40 24 -40%
Deep 8 34 20 -41%

@SchrodingersGat
SchrodingersGat merged commit 9541a81 into main Jul 26, 2026
4 checks passed
@SchrodingersGat
SchrodingersGat deleted the refactor branch July 26, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant