Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLAG-69: Improve the performance of the evaluating all flags #60

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

ManojLL
Copy link
Contributor

@ManojLL ManojLL commented Jun 11, 2024

Description of what I change

refactor evaluate all flags to process in parallel.

Issue Worked On

worked on FLAG-69

Test

Evaluate all flags 10 times
parallel process -> 74, 58 , 63 . 47 , 79, 40 , 101, 121 , 58 => avg 64.1 milliseconds

current module -> 258, 230, 215, 208, 207, 208, 204, 196,202, 198 => avg 212.6 milliseconds

evaluate all flags : PatientFlagTask.AllFlagsEvaluator

@ManojLL ManojLL changed the title FLAG-69: Evaluate patient flags in parallel FLAG-69: Improve the performance of patient flag evaluation Jun 11, 2024
@ManojLL ManojLL changed the title FLAG-69: Improve the performance of patient flag evaluation FLAG-69: Improve the performance of the evaluating all flags Jun 11, 2024
@wikumChamith wikumChamith merged commit 9891e4c into openmrs:master Jun 24, 2024
1 check passed
wikumChamith added a commit that referenced this pull request Jun 24, 2024
wikumChamith added a commit that referenced this pull request Jun 24, 2024
ManojLL pushed a commit to ManojLL/openmrs-module-patientflags that referenced this pull request Jun 24, 2024
ManojLL pushed a commit to ManojLL/openmrs-module-patientflags that referenced this pull request Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants