In Amman production we see that performance of appointment scheduling is slow. Below are the stats:
can we take a look at the Appointment scheduling performance: load page of appointment scheduling – it is 4.72 secs from the summary to the appointment list and then it is 5.39 seconds without the filter enabled. Also the save from the calendar view takes 4.97 seconds – when scheduling form the calendar view – additionally the slider remains open causing the user to click save multiple times and therefore the patient is scheduled several times. It takes 2.8 seconds for the slider to close
We have:
13 services
12 providers
~100 appointments/day
Another scope of performance improvement is when we switch views (calendar to list or the vice versa): we need not essentially make the API call as the data(list of appointments) is same and only the view changes. But this needs further thought (to understand the possibility) and refactoring. Creating a new card to track this: https://bahmni.atlassian.net/browse/BAH-462