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

perf(thesues): multi thread file hashing and increase buffer size #1272

Closed
wants to merge 2 commits into from

Conversation

ToBinio
Copy link
Contributor

@ToBinio ToBinio commented Jul 8, 2024

for me, this PR increases the updating speed by around 2.5x, from 7.8s to 2.8s

This is useful since the update_projects() locks the credentials that are needed by the settings page
this means for the first 8 seconds I can't open the settings page.
and this will just get worse with more/ bigger instances

maybe it would be good to move to a faster hashing algorithm, not sure

note:
the reason I even investigated this was that when running in debug mode the time isn't 8 seconds its more like 5 minutes...

reopen of #1210

@ToBinio
Copy link
Contributor Author

ToBinio commented Aug 22, 2024

not necessary since 0.8 doesnt block anymore

@ToBinio ToBinio closed this Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant