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

refactor: improve test compilation speed and organization #4027

Merged
merged 2 commits into from
Mar 5, 2021

Commits on Mar 4, 2021

  1. refactor: improve test compilation speed and organization

    By moving from many integration binaries to unit-tests, we:
    
    * improve test compilation performance by cutting down on linking time
      significantly
    * improve test run-time by increasing parallelism (20s -> 12s, when
      `test_out_of_memory` outlier is removed)
    * improve organization by making more things private and making it
      easier to share code between various tests.
    
    See this post for in-depth explanation:
    
      https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html
    
    When adding a new integration test file, consider an option of putting
    it into `src` dir instead.
    matklad committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    9d33182 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Configuration menu
    Copy the full SHA
    f296878 View commit details
    Browse the repository at this point in the history