You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"After large amount of entering GMP data then App going to slow. Like when we enter CK ID for searching a child / Preg. mother then numbers are entering very slowly and in very big size which is taking time to enter and making the process slow. [....] after about 50 entries, the size of the number becomes very large and the process of saving the number in the text box takes a long time." - CK
Our investigation:
The slowness is caused by continuous usage of the app. Not by the amount of data in the device.
To reproduce the slowness I have to fill atleast 50 encounters. It is not feasible to do it manually. So added some hooks in code and automated it.
The following scenarios are done on emulator with 800 MB RAM, 2 CPUs.
Scenarios tried locally on 3.3:
Through UI automation: Create Individual, Enrol into Pregnancy, Goto Home page, repeat 50 times.
Not seeing any slowness.
First sync 100 Pregnant women with most number of ProgramEncounters. Through UI automation: Goto Search page, Enter MyChi ID, Select Individual, Land on Dashboard, Goto Home page; repeat 50 times.
Not seeing any slowness.
Scenarios tried locally on 3.2:
First sync 100 Pregnant women with most number of ProgramEncounters and have atleast one non exited Pregnancy Prog. Through UI automation: Goto Search page, Enter MyChi ID, Select Individual, Land on Dashboard, Start new Visit, ANC GMP, Fill weight, Save, Land on Dashboard, Goto Home page; repeat 30 times.
Not seeing any slowness.
We tried to figure out where the memory issue was. Due to debugging limitations caused by realm, we are not able to view memory stats and pin point the cause. Right now If this problem happens mainly for the DataEntry operators we can ignore it as we are building the DataEntry App. If it is for field workers, we cannot do anything right now. Ask them to sync; reopen the app; regularly.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Performance issues - followup work
[Performance Bug][CK][Urgent] App is slow when entering GMP data
Sep 17, 2019
"After large amount of entering GMP data then App going to slow. Like when we enter CK ID for searching a child / Preg. mother then numbers are entering very slowly and in very big size which is taking time to enter and making the process slow. [....] after about 50 entries, the size of the number becomes very large and the process of saving the number in the text box takes a long time." - CK
Our investigation:
Not seeing any slowness.
Not seeing any slowness.
See: realm/realm-js#505, realm/realm-js#465 and there are more issues related to this.
We tried to figure out where the memory issue was. Due to debugging limitations caused by realm, we are not able to view memory stats and pin point the cause. Right now If this problem happens mainly for the DataEntry operators we can ignore it as we are building the DataEntry App. If it is for field workers, we cannot do anything right now. Ask them to sync; reopen the app; regularly.
The text was updated successfully, but these errors were encountered: