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

Search Param Matcher Performance Improvement #5999

Conversation

melihaydogd
Copy link
Contributor

extractIndexedSearchParams function uses ISearchParamExtractor.ALL_PARAMS by default. This tries to extract all possible values from a resource then tries to match the resource. By adding the getFilter function, we can extract only the values that is in search parameter map. I saw that this had a good impact on the performance of search param matcher.

@melihaydogd melihaydogd force-pushed the feature/param-matcher-performance-improvement branch from 02629d8 to 7946ff1 Compare June 13, 2024 08:43
Copy link

codecov bot commented Jun 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.43%. Comparing base (497b9f2) to head (7946ff1).
Report is 93 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5999      +/-   ##
============================================
+ Coverage     83.39%   83.43%   +0.03%     
- Complexity    26927    27228     +301     
============================================
  Files          1681     1695      +14     
  Lines        103965   105333    +1368     
  Branches      13189    13317     +128     
============================================
+ Hits          86702    87880    +1178     
- Misses        11613    11747     +134     
- Partials       5650     5706      +56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jamesagnew added a commit that referenced this pull request Jun 16, 2024
@jamesagnew jamesagnew merged commit d2923da into hapifhir:master Jun 17, 2024
63 of 65 checks passed
jamesagnew added a commit that referenced this pull request Jun 17, 2024
* filter function added

* spotless

* Credit for #5999

---------

Co-authored-by: Melih Aydogdu <[email protected]>
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.

None yet

2 participants