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

speed up tests by loading sample once #341

Merged
merged 1 commit into from
Nov 29, 2023
Merged

speed up tests by loading sample once #341

merged 1 commit into from
Nov 29, 2023

Conversation

ryan-wolbeck
Copy link
Collaborator

This pull request introduces improvements to our test suite, resulting in a substantial reduction in build and test run times. Previously, our tests took approximately 45 minutes to complete. With the changes implemented in this PR, the test suite now completes in about 15 minutes. This represents a time savings of approximately 67%, a substantial improvement that enhances the efficiency of our development process. The reduced test run time will make it easier and more convenient for developers to run tests before committing code to the repository.

The optimization was achieved by modifying the test setup to sample 1000 records once and pass them to each test. This approach is more efficient and still allows us to thoroughly test our functions.

@ryan-wolbeck ryan-wolbeck merged commit 07734dd into master Nov 29, 2023
8 checks passed
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