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

Performance/parallelise search index generation #675

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

d7919
Copy link
Contributor

@d7919 d7919 commented Nov 13, 2024

Builds on #674 to reduce conflicts although the changes should be effectively orthogonal.

Uses process based parallelism to accelerate the search index generation. Tests of thread based parallelism didn't seem to show much gain but it should be easy to switch from process to thread here.

@d7919
Copy link
Contributor Author

d7919 commented Nov 13, 2024

We may also want to consider adding lxml as a dependency -- this can be installed from pypi and seems to give a decent speedup to the beautiful soup parsing.

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