Skip to content

Conversation

cmark
Copy link
Member

@cmark cmark commented Nov 28, 2024

...by skipping existing historical association member search for a given inactivated component when there is no historical reference set identifier present in the current semantic network (memberOf fields).

Also, caching the current association reference set IDs in the scope of the request, so these can be reused which improves performance for those components where there are existing assoc. members.

...by skipping existing historical association member search for a given
inactivated component when there is no historical reference set
identifier present in the current semantic network (memberOf fields).

Also, caching the current association reference set IDs in the scope of
the request, so these can be reused which improves performance for those
components where there are existing assoc. members.
@cmark cmark requested review from apeteri and nagyo November 28, 2024 08:53
@cmark cmark self-assigned this Nov 28, 2024
Copy link
Member

@nagyo nagyo left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.

Project coverage is 63.71%. Comparing base (c783a75) to head (b878169).
Report is 3 commits behind head on 9.x.

Files with missing lines Patch % Lines
.../request/SnomedAssociationTargetUpdateRequest.java 88.88% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                9.x    #1350      +/-   ##
============================================
+ Coverage     63.69%   63.71%   +0.01%     
- Complexity    12535    12541       +6     
============================================
  Files          1613     1614       +1     
  Lines         57218    57245      +27     
  Branches       5629     5633       +4     
============================================
+ Hits          36445    36472      +27     
+ Misses        18421    18420       -1     
- Partials       2352     2353       +1     

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

Copy link
Member

@apeteri apeteri left a comment

Choose a reason for hiding this comment

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

👍

@cmark cmark merged commit 5f2240d into 9.x Nov 28, 2024
2 checks passed
@cmark cmark deleted the improvement/bulk-component-inactivation-performance branch November 28, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants