appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.69k stars 3.75k forks source link

[Task]: Optimise page fetch time taking during Js object action creation #37567

Open sneha122 opened 6 days ago

sneha122 commented 6 days ago

SubTasks

SubTasks

The log analysis is done by following the traces mentioned here: https://onenr.io/0VwgZL0K0QJ

Considering JS object which is creating 40 new actions: https://onenr.io/0oQDqnmGNwy Each action is created with createAction function call. From the traces above we can see that if create action takes ~17s of time, 1st component takes around ~14s, 2nd component takes around 2s and last one takes around few ms.

Screenshot 2024-11-11 at 8 04 03 PM

This task is to optimise 2nd component, where we are fetching the page object from the DB