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

Updated FilteredPsms to only iterate through PSMs once #2430

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

Alexander-Sol
Copy link
Contributor

Previously, when filtering, we iterated through the list of PSMs 6 times. Now, we only iterate through once in a single LINQ statement. This should give a modest performance increase.

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.73%. Comparing base (c2d5a41) to head (df89119).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2430   +/-   ##
=======================================
  Coverage   93.72%   93.73%           
=======================================
  Files         141      141           
  Lines       21865    21871    +6     
  Branches     3000     2998    -2     
=======================================
+ Hits        20493    20500    +7     
  Misses        922      922           
+ Partials      450      449    -1     
Files with missing lines Coverage Δ
MetaMorpheus/TaskLayer/FilteredPsms.cs 96.73% <100.00%> (+1.39%) ⬆️

Copy link
Member

@nbollis nbollis left a comment

Choose a reason for hiding this comment

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

LGTM

@nbollis nbollis merged commit 32658b1 into smith-chem-wisc:master Oct 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants