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

fix: performance on large repositories #220

Merged
merged 5 commits into from
Dec 13, 2022

Conversation

cfabianski
Copy link
Collaborator

@cfabianski cfabianski commented Dec 9, 2022

Description

Fixes performance issues seen on the Gitlab repository.

The cause was running the encrypted field processor for each detection. We now run the processor once with all detections.

Also:

  • Removes configurable processors, in practice the code only supported the encrypted field one anyway.
  • Adds some additional logging
  • Ignores symlinks
  • Increases max file size to 2mb

AMA-3332

Checklist

  • I've added test coverage that shows my fix or feature works as expected.
  • I've updated or added documentation if required.
  • I've included usage information in the description if CLI behavior was updated or added.
  • PR title follows Conventional Commits format

@didroe didroe force-pushed the fix/processing-of-structure-sql branch 3 times, most recently from 72f14e4 to ea2770a Compare December 13, 2022 09:13
@didroe didroe changed the title wip: ignore symlink and extend to bigger files fix: performance on large repositories Dec 13, 2022
@didroe
Copy link
Contributor

didroe commented Dec 13, 2022

@didroe didroe force-pushed the fix/processing-of-structure-sql branch from c4c6baa to 7b7bbe1 Compare December 13, 2022 10:07
@didroe didroe marked this pull request as ready for review December 13, 2022 10:07
@cfabianski cfabianski merged commit 480b746 into main Dec 13, 2022
@cfabianski cfabianski deleted the fix/processing-of-structure-sql branch December 13, 2022 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants