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

cr-filter-git: mark all as skipped in single transaction #541

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

tomato42
Copy link
Contributor

Because every skipped transaction is committed individually to the DB, it takes extensive amount of time for a database with few tens of thousands of mutants:

without the patch:

18.08user 3.50system 1:12.85elapsed 29%CPU (0avgtext+0avgdata 116220maxresident)k
0inputs+1014816outputs (0major+27993minor)pagefaults 0swaps

with this patch:

10.33user 0.18system 0:10.55elapsed 99%CPU (0avgtext+0avgdata 116008maxresident)k
0inputs+3176outputs (0major+27989minor)pagefaults 0swaps

And this is with a fairly fast NVME SSD, slower disk storage will take extensively more time.

@abingham
Copy link
Contributor

abingham commented Dec 31, 2023 via email

@abingham abingham merged commit 29646ad into sixty-north:master Jan 11, 2024
5 checks passed
@tomato42 tomato42 deleted the git-single-session branch January 11, 2024 13:46
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.

2 participants