## Description Optimising `makeParentDependedOnChildren` function by executing `makeParentsDependOnChild` for only affected nodes in the dependencyMap graph. This has brought down the cumulative latency of execution by about 90% when testing it against a customer's app during page load. Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10791040934> > Commit: 902f4653f17ea4d170c5c2b70e7e6431407855d9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10791040934&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Tue, 10 Sep 2024 12:20:44 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a method for linking child nodes to parent nodes in the dependency graph, allowing for more precise management of affected nodes. - Added new helper functions to streamline the addition of affected nodes and dependencies within the dependency map. - **Bug Fixes** - Enhanced testing coverage for the dependency linking logic, ensuring accurate representation of hierarchical relationships between nodes. - **Documentation** - Improved comments in existing methods to clarify functionality and enhance code readability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| common | ||
| Evaluation | ||
| Tern | ||