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

feat: add argument to specify the number of jobs being used for interfile #10230

Commits on May 8, 2024

  1. feat: add argument to specify the number of jobs being used for inter…

    …file
    
    In combination with changes to semgrep-proprietary, this produces a speedup for
    interfile runs that use both intrafile and interfile rules. Instead of running
    both the intrafile and interfile rules with `-j 1`, it runs first the intrafile
    rules with the default number of jobs, and then the interfile rules with a single
    job. This conserves memory for the interfile rules while allowing the intrafile
    rules to benefit from multiprocessing.
    
    TODO: we can remove the supply chain hack that disables interfile when possible
    to get multiprocessing
    
    Test plan: see corresponding semgrep-proprietary PR
    emjin committed May 8, 2024
    Configuration menu
    Copy the full SHA
    ac659ee View commit details
    Browse the repository at this point in the history