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

Perform replacement in parallel #87

Merged
merged 2 commits into from
Mar 23, 2025

Conversation

thomasschafer
Copy link
Owner

From a little testing this seems to speed up replacement performance by around 3x. In future we can tweak the number of permits (meaning the max number of threads operating in parallel, currently set to 8), or allow this to be configured.

@thomasschafer thomasschafer force-pushed the tschafer-perform-replacement-in-parallel branch from 5bbe300 to ef6afaa Compare March 23, 2025 16:46
@thomasschafer thomasschafer force-pushed the tschafer-perform-replacement-in-parallel branch from ef6afaa to 753b2d4 Compare March 23, 2025 16:47
@thomasschafer thomasschafer marked this pull request as ready for review March 23, 2025 16:54
@thomasschafer thomasschafer merged commit 317614e into main Mar 23, 2025
4 checks passed
@thomasschafer thomasschafer deleted the tschafer-perform-replacement-in-parallel branch March 23, 2025 16:54
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.

1 participant