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

Small samtools stats speed up, ~5%. #893

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

jkbonfield
Copy link
Contributor

(NB: No point considering for this release.)

I experimented and got a barely worth it speed increase, but it's there if we want it. No worries if we don't. :-)

This was the biggest single slow down, but the next lot are rather spread around so there isn't one single gain to be had I think (short of a larger overhaul).

@valeriuo valeriuo self-requested a review July 12, 2018 13:08
Copy link
Contributor

@valeriuo valeriuo left a comment

Choose a reason for hiding this comment

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

I got around 3%, but still good.

…lacial.

Time for a small test file dropped from 119s to 43s.
(That's still 100x slower than -i 8000 though...)

Sadly I've only now noticed that -i 0 is totally undocumented and so I
doubt anyone runs it in this manner.  (I'm half tempted to remove this
complex piece of code entirely!)
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