2de2491e17
- Separate getting dependants and checking if they are valid (loop within loop led to redundant processing that slowed down function) - Adding to above, the same dependant(parent) was repeatedly processed as many children shared it. Expensive. - Use a parent-child map similar to child-parent map to check if all children are resolved - `map.get()` reduced time: 10 mins -> 0.9s~1 second (as compared to `get_cached_doc` or query) - Total time: 17 seconds to process 6599 leaf boms and 4.2L parent boms - Previous Total time: >10 mins (I terminated it due to not wanting to waste time XD) |
||
---|---|---|
.. | ||
dashboard_chart | ||
doctype | ||
manufacturing_dashboard/manufacturing | ||
module_onboarding/manufacturing | ||
notification | ||
number_card | ||
onboarding/manufacturing | ||
onboarding_step | ||
page | ||
report | ||
workspace/manufacturing | ||
__init__.py | ||
dashboard_fixtures.py | ||
README.md |
Plan and manage manufacturing operations, bill of materials for manufacturing.