code icon indicating copy to clipboard operation
code copied to clipboard

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

Open ToBinio opened this issue 1 year ago • 0 comments

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 avatar Jul 08 '24 16:07 ToBinio