Skip to content

Kraken: optimize memory and runtime - #2756

Merged
vladsavelyev merged 10 commits into
mainfrom
optimize_kraken
Aug 12, 2024
Merged

vladsavelyev merged 10 commits into
mainfrom
optimize_kraken

Conversation

@vladsavelyev

@vladsavelyev vladsavelyev commented Aug 10, 2024 •

Copy link
Copy Markdown
Contributor

Optimized the module. The main boost is coming from the fact that the module only uses the selected set of 10 ranks, so all other lines are not needed to be stored. More optimizations and refactoring apart from this.

Screenshot 2024-08-10 at 16 23 38

Address #1961

@codecov

codecov Bot commented Aug 10, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 91.45299% with 10 lines in your changes missing coverage. Please review.

Project coverage is 88.13%. Comparing base (3e9776c) to head (46dada2).

Files Patch % Lines
multiqc/modules/kraken/kraken.py 91.45% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2756      +/-   ##
==========================================
- Coverage   88.19%   88.13%   -0.07%     
==========================================
  Files         473      473              
  Lines       29094    29043      -51     
==========================================
- Hits        25660    25596      -64     
- Misses       3434     3447      +13     

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

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.

1 participant