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

Sync DB only at the end of splits #76

Merged
merged 1 commit into from Mar 6, 2024
Merged

Sync DB only at the end of splits #76

merged 1 commit into from Mar 6, 2024

Conversation

fabpot
Copy link
Contributor

@fabpot fabpot commented Mar 6, 2024

Removing the cache is a HUGE performance improvement.
From 8 minutes on one example down to 3 seconds (when doing a split from scratch).
The trick is to only sync the cache at the end of a split, instead of syncing after each commit.
No downsides :)

@fabpot fabpot merged commit 4aa9676 into master Mar 6, 2024
2 checks passed
@fabpot fabpot deleted the cache-flush-late branch March 6, 2024 11:56
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

1 participant