Closed orisano closed 5 years ago
It seems that the biggest improvement are the changes in worktree.go
and storage/filesystem/index.go
. Can yo split this PR in two? One with changes for those files and another with changes for packfile code.
I've been reviewing the changes for packfile and make sense but in some cases they make the code slower. I'm pretty sure this can be improved to get good gains in both memory and speed when it's generating the index.
@mcuadros what do you think?
Ok, I split PR.
Shall I close this PR?
@orisano I would love to take a look to the changes for packfile you did. Even if they are not increasing speed now they look very promising. Can you open a new PR with only the changes from the files in plumbing/format/packfile/*
. We can work from there to improve them.
Thanks!
ok
The changes from this PR are now in #1180
I tried to clone
github.com/knqyf263/vuln-list
, butPlainClone
took a too long time. I improve clone performance and reduce memory usage!benchstat results
thanks!