Skip to content

FLAG-76: Implement batch saving functionality for generatePatinetFlags() #71

Open
ManojLL wants to merge 1 commit intoopenmrs:masterfrom
ManojLL:FLAG-76-generatePatientFlags
Open

FLAG-76: Implement batch saving functionality for generatePatinetFlags() #71
ManojLL wants to merge 1 commit intoopenmrs:masterfrom
ManojLL:FLAG-76-generatePatientFlags

Conversation

@ManojLL
Copy link
Contributor

@ManojLL ManojLL commented Jun 19, 2024

Issue worked on : FLAG-76

@ManojLL ManojLL changed the title FLAG-76: added batch saving for patient flags FLAG-76: Implement batch saving functionality for generatePatinetFlags() Jun 19, 2024
@ManojLL ManojLL force-pushed the FLAG-76-generatePatientFlags branch 2 times, most recently from 63428af to 33abbae Compare June 30, 2024 15:15
@ManojLL ManojLL marked this pull request as ready for review June 30, 2024 15:16
}

@Test
public void savePatientFLags_shouldAcceptListPfPatientFlag() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public void savePatientFLags_shouldAcceptListPfPatientFlag() {
public void savePatientFLags_shouldAcceptListOfPatientFlag() {

FLAG 76: added batch saving for generate patient flag for flags

FLAG 76: added unit tests for batch saving

FLAG 76: added unit tests for batch saving
@ManojLL ManojLL force-pushed the FLAG-76-generatePatientFlags branch from 33abbae to 5497369 Compare July 1, 2024 07:27
@wikumChamith
Copy link
Member

@ManojLL have you noticed a performance increase with this?

@ManojLL
Copy link
Contributor Author

ManojLL commented Jul 1, 2024

@ManojLL have you noticed a performance increase with this?

yes @wikumChamith, I noticed a difference in execution time between batch saving and without batch saving

evaluate all flags
without batch saving: 26.1 ms
with batch saving : 19.8 ms

generate patient flags for patient

without batch saving : 79.9 ms
with batch saving : 42.4 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants