-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Optimize create uneval tree via memoization #13476
feat: Optimize create uneval tree via memoization #13476
Conversation
- Remove stary console statement in MultiSelectWidget
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/ok-to-test sha=683a514 |
Unable to find test scripts. Please add necessary tests to the PR. |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2255468977. |
Unable to find test scripts. Please add necessary tests to the PR. |
/ok-to-test sha=4b80e25 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2258750676. |
/ok-to-test sha=bd271ab |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2258930953. |
/ok-to-test sha=7c4e456 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2259255341. |
/ok-to-test sha=21fb4a0 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2305082364. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2305082364. Click to view performance test results
|
/ok-to-test sha=cee2807 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2307603615. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2307603615. Click to view performance test results
|
1 similar comment
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2307603615. Click to view performance test results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/ok-to-test sha=bfb4e9a |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/2330377025. |
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2330377025. Click to view performance test results
|
1 similar comment
UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/2330377025. Click to view performance test results
|
Description
For every evaluation, uneval tree is computed on the main thread and sent to the worker. In moderately complex apps, this step takes between 40 to 300ms. Most of the computations in this step are rework because none of the widgets change, and the only change is meta properties.
This PR separates the part dependent on widget and metaprops, and memoizes the expensive part dependent on widget
Fixes #12966
Type of change
How Has This Been Tested?
Checklist:
Test coverage results 🧪
🟢 Total coverage has increased