Slow performance of mobile applications on non-high-end devices

I'm implementing a sales application with this fabulous retool technology, but due to my country, Cuba - Havana, the application has limited internet connection and sometimes poor quality, so we develop applications to work offline most of the time and update the database on the server once a day. There are also many users with somewhat older mobile devices. I also want to specify that on other high-end phones, it works well, but on almost high-end mid-range phones, it works very slowly.

  1. My goal: Solve this issue, that the app work properly

  2. Issue: The problem is that when using the app, it works very slowly on most mobile devices, like my own, which is a Samsung Galaxy A14. I think that with the properties of this phone, it shouldn't work so slowly

  3. Steps I've taken to troubleshoot: For now, we are optimizing code and structures, cleaning local variables at times when they are not in use, but it still works very slowly.

  4. Additional info: (Cloud or Self-hosted, Screenshots) This is the amount of script I have, maybe it's too much

Hello @saul98!

Apologies for the performance issues :sweat: it sounds like you are following best practices to optimize the code and what is running in the app to cut down on how much load the hardware needs to handle.

I wish there was a "press here to make Retool faster" button but we haven't figure that part out yet :sweat_smile:

I would say that the amount of data in the scripts is most important, I can check with our mobile team and relay your feedback to them as well. There is a possibility that having folders with 40+ scripts in them may be slowing things if the mobile app is importing and keeping reference to these but I am not certain.

I will come back with any suggestions from the mobile team on best practices and any recommendations.

We appreciate the kind words and want to help improve our software for users on older technology as best we can!

2 Likes

Thanks for your response, the issue is not only in low devices, In high end phones too, mine is 12gb of ram and is very slow in retool android app vs android browser

Thank you very much for your response. We'll be happy to hear any information or suggestions from your colleagues in the mobile section.

Hi folks,

just heard hear back from the mobile team. They reminded me that our most comprehensive list of suggestions for best practices and optimizing performance can be found on our mobile docs page here.

The biggest bottleneck being that Retool is optimized for mobile apps on iOS devices and in the browser for web apps, with android devices unfortunately the least optimized platform for running Retool.

This is a known issue that we are working on prioritizing and have on our roadmap to work towards parity between the mobile options as well as improving performance as a whole.

I will keep this post updated with any news I hear from the team! :+1:

1 Like

Thanks for your reply. We've already reviewed the list of suggestions you provided and it doesn't apply to our case, as it's mostly intended for non-mobile web applications. I suggest your development team give more priority to Android. It's the largest operating system on the market with the largest number of devices, so that's where the biggest business opportunity lies. It's a shame they don't put more effort into the platform for these cases, as that's what makes potential customers migrate and stop recommending retool for that.

1 Like

@Jose_Rolando_Lafaurie Yes I 100% agree!

Retool began as a desktop application and has branched into the mobile world fairly recently, so it is new territory and comes with some exciting and unique challenges.

We definitely have the most room to grow in terms of performance in the mobile space and the android space. We love getting feedback from our users and will continue to push for improving our ability to provide useful tools for more users :pray:

1 Like