#Slow performance on data fetching

1 messages · Page 1 of 1 (latest)

ruby river
#

I have a simple app with a database of only 2 tables.
In the app, the left is a list of campaigns and on the right are the campaign details.
Whenever one of the campaigns are being clicked, it simply runs a database query on the details table and populate it.
What we have noticed is when we switch between campaigns, the data table and some other fields will show a loading animation. After that, it will still show the details of the previously selected campaign. Then, only after a few seconds, will the proper data be shown again.
Would like to ask if there is anyway to improve the performance on this? It now feels sluggish.

hexed dawnBOT
#

Hi There!
Thanks for reaching out to us. One of our engineers will be with you shortly.

If you are stuck with an issue/error, please help us with following information.

  1. Which version of Appsmith are you on?
  2. Provide screenshots/screen recordings of the original error/code snippet.
  3. Add details about your use case and provide steps to reproduce the issue, if
    possible.
hexed dawnBOT
#

Hi! Can you share a screenshot of the onListItemClick event of the List
widget?

ruby river
#

This is the onListItemClick on the list widget

#

and this is the data for the table

#

and the query itself

hexed dawnBOT
#

Thanks. Give us some time to check this and get back.

hexed dawnBOT
#
Appsmith on Notion

Please follow given steps to produce a performance report of your app/page load time.

Appsmith on Notion

Please follow given steps to produce a performance report of an action.

Notion

A new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team

celest saffron
# ruby river I have a simple app with a database of only 2 tables. In the app, the left is a ...

Hi @ruby river , From the video the UI updates appears to be reasonably fast, but showing that stale data is kind of annoying.
I have created an issue for it
https://github.com/appsmithorg/appsmith/issues/18983

If you feel the the app is slow, except for the above issues, please share the profile requested above.

GitHub

Is there an existing issue for this? I have searched the existing issues Description We momentarily show data from a previous query while the query with new params runs. I strongly disagree with th...

ruby river
#

Hi, thanks for the reply. I did a profiling on a few clicks of the List widget. Here is the file https://we.tl/t-HUFnBS2aW6 (since discord does not allow me to upload large files).
I understand the issue is already flagged on github. But right now, as a work around, are there any workarounds I can do to eliminate the issue? e.g. I have a modal acting as a global blocker with a progress bar. I can activate that while data is being loaded, but is there any event that I can be notified when data is ready to actually disable the modal?