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 a few tests #1996

Merged
merged 3 commits into from
Sep 6, 2023
Merged

Speed up a few tests #1996

merged 3 commits into from
Sep 6, 2023

Conversation

natestemen
Copy link
Member

@natestemen natestemen commented Sep 5, 2023

Description

As part of #1427 we are trying to speed up tests by removing unnecessary or redundant workloads.

On my machine this brought execution time of make test down from 553s to 343s!

Reviewer notes

This PR is likely best reviewed commit by commit. Further work needs to be done, but good to make progress over time.

Assigning Nathan + Andrea since Misty and I both worked on this.

@natestemen natestemen added the tech debt Technical Debt that should be paid off! label Sep 5, 2023
@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.09% ⚠️

Comparison is base (891684b) 98.36% compared to head (f769336) 98.27%.
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1996      +/-   ##
==========================================
- Coverage   98.36%   98.27%   -0.09%     
==========================================
  Files          83       86       +3     
  Lines        3982     4065      +83     
==========================================
+ Hits         3917     3995      +78     
- Misses         65       70       +5     

see 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@andreamari andreamari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am surprised to see how a few small changes are enough to get such a significant speed up. But it works!

@natestemen
Copy link
Member Author

Docs build failure is not actually a failure. Looks like it just took a really long time to build. Going forward with merge.

@natestemen natestemen merged commit 07f7bd4 into master Sep 6, 2023
@natestemen natestemen deleted the nts-speed-up-tests branch September 6, 2023 21:41
@nathanshammah
Copy link
Member

⚡️Great result @natestemen ⚡️!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech debt Technical Debt that should be paid off!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants