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

trufflehog git concurrency does not work as expected #3783

Open
yang0369 opened this issue Dec 16, 2024 · 1 comment
Open

trufflehog git concurrency does not work as expected #3783

yang0369 opened this issue Dec 16, 2024 · 1 comment
Labels

Comments

@yang0369
Copy link

yang0369 commented Dec 16, 2024

I am trying to speed up the trufflehog git scan with this "--concurrency" arg. After some trials, it does not look very right.
1
As shown, it takes 14s when concurrency=1 while 15s when concurrency=8 (given my desktop has 8 cores), which contradicts with common sense. Could someone shed some light on this please? Thanks.

@yang0369 yang0369 added the bug label Dec 16, 2024
@yang0369
Copy link
Author

Anyone can help with this? As I am testing with trufflehog git repo, so it can be easily replicated with the below code:

trufflehog git --json --concurrency=8 https://github.com/trufflesecurity/trufflehog.git --max-depth=6 --no-verification
trufflehog git --json --concurrency=1 https://github.com/trufflesecurity/trufflehog.git --max-depth=6 --no-verification

all the ideas are welcomed and much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant