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

rule: parallelize projects calling UAST not under exchanges #767

Closed
wants to merge 1 commit into from
Closed

rule: parallelize projects calling UAST not under exchanges #767

wants to merge 1 commit into from

Commits on Apr 2, 2019

  1. rule: parallelize projects calling UAST not under exchanges

    Fixes #766
    
    Since rows are iterated serially (except for exchange nodes), when
    a Project node calls UAST, it's processed one at a time, which
    underutilizes the resources in the machine.
    
    When a Project calls UAST or UAST_MODE and is not under an Exchange
    node, which already parallelizes its children, replaces the project
    with a special node called parallelProject, which is essentially a
    project that keeps up to N goroutines processing rows, where N is
    the parallelism value of gitbase.
    
    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    b386b1d View commit details
    Browse the repository at this point in the history