Mobile App Performance/Profiling

I am having a few problems with the iPhone mobile app. First I get network error often and consistently. The app remains offline for prolong periods of time. I notice that while it is offline my app is frozen since I rely on a lot of database queries. Here is the message that I see:

Also the mobile app runs very slow compared to the simulated app in the IDE. Often times I will take a minute or more for the app to respond to a click event on the mobile iPhone version while in the IDE it responds immediately.

Finally, without profiling tools it is difficult to near impossible to diagnose where the bottlenecks are in the mobile app.

As it stands now. I am unable to recommend the mobile app solution that I am building for a client because of performance issues and the inability to diagnose where those performance bottlenecks are so that I can mitigate them.

Upon further trial and error it appears the performance bottleneck I am experiencing may be tied to the 'auto-grow with content' attribute on the user input field. When set to true I notice the performance issue. When this property is set to false it appears the performance issue goes away. I will continue to test.

1 Like

That's a very interesting observation, @neilbalthaser. I will check this out on my end, as well. :+1:

I did some preliminary research in a very bare-bones mobile app and was not able to reproduce either of the issues that you've outlined here, @neilbalthaser. It's certainly possible that they are contextual, though, so it might helpful to get a JSON export of your app that includes hard coded query data.

In the meantime, I will look into the feasibility of expanding the mobile app's debugging capabilities!

1 Like

It would be nice if you check Android version too, because I have that issue with sales app I develop, the performance is very poor in android compared to android web browser, the devices we use are good in specifications, 8 gb ram( to 24gb), 8 cpus at 1.6 hz , I upload a screen shoot of my cpu usage when I work with the app



And some screenshot of the app

Thanks for flagging that, @Jose_Rolando_Lafaurie! It's something we're aware of and tracking internally. Can you let me know which specific devices you're using? I'll update the relevant ticket and provide an update here as soon as I can. :+1:

We are using Xiaomi devices, Samsung, and blackview, with 8 cpus and 4 to 12 gb of ram. Thanks for the support

1 Like

I still get the regular "network reconnect" in the iOS mobile app and then it spends a bit of time reconnecting. I never lose state information but it is slow and annoying when I just want to grab the app (which has been open) but have to wait for it to reconnect.