Slow app 12% in perfomance tab

WHy my app is so slow?

image

i only got 3 queries

image

url for testing: https://panamadev.retool.com/embedded/public/fa5e223c-7cc2-438c-bc1f-e5f262c382d9 just select on any client and click the button VIEW in the left to open the app #2

Hi @agaitan026, this may be related to all the queries we are running. :face_with_monocle:

Check their settings and make sure they only run when manually triggered.


Add an "Event handler" to the input and trigger the query when the input changes.


This should improve the performance of the app. :slightly_smiling_face:

PS: The url you shared does not link us to the app.

1 Like

do you know if you breakout 2 components replace them with a module would the component count change? like is 1 module considered a component or are all the components that make up the module counted in the parent app?

1 Like

Hey @bobthebear, I'm sorry for not getting back to you on this question. Components are just encapsulated within a module for reusability. When they are added to a parent App, they are still counted separately. Each one of them is still an individual node with its own dependencies. The components behave the exact same way as if they weren't in modules.

1 Like