You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Generating patches is the biggest bottle neck. It would be great if we could get patch generation to run without race conditions while iterating through commits. This speeds up scans by a substantial amount
Describe the solution you'd like
A clear and concise description of what you want to happen.
^ see above
Describe alternatives you've considered
Forking go-git and attempting to create read-only memory-objects? Perhaps using https://github.com/libgit2/git2go might be faster?
Is your feature request related to a problem? Please describe.
Generating patches is the biggest bottle neck. It would be great if we could get patch generation to run without race conditions while iterating through commits. This speeds up scans by a substantial amount
Race condition:
Describe the solution you'd like
A clear and concise description of what you want to happen.
^ see above
Describe alternatives you've considered
Forking go-git and attempting to create read-only memory-objects? Perhaps using https://github.com/libgit2/git2go might be faster?
Additional context
Add any other context or screenshots about the feature request here.
Working branch: https://github.com/zricethezav/gitleaks/tree/concurrent-patch
Chunk I'm working on: https://github.com/zricethezav/gitleaks/blob/concurrent-patch/scan/repo.go#L50-L96
cc @zricethezav
The text was updated successfully, but these errors were encountered: