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

chore: Parallelize Tests #739

Merged
merged 1 commit into from
Jul 16, 2023
Merged

Commits on Jul 16, 2023

  1. chore: Parallelize Tests

    This will use all available cores to run tests, and parallelize by all - suite/class/method.
    On machines with multiple cores, this will vastly improve test performance.
    These times are on my M1 MBP with 10 (8P + 2E) cores. They were reported by maven on running `mvn verify`.
    
    I first ran `mvn verify` and ignored the time.
    Then I ran it thrice without this change, and thrice with this change.
    
    All times in seconds.
    
    |        | Run 1 | Run 2 | Run 3 | Average |
    | ------ | ----: | ----: | ----: | ------: |
    | Before |   304 |   306 |   307 |     306 |
    | After  |   120 |   123 |   118 |     120 |
    | Savings|       |       |       |     186 |
    | %      |       |       |       |      61 |
    Name From Git-Plugin-Test committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    2e54f1c View commit details
    Browse the repository at this point in the history