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

dont cache yarn #5584

Merged
merged 1 commit into from
Oct 25, 2024
Merged

dont cache yarn #5584

merged 1 commit into from
Oct 25, 2024

Conversation

mat-if
Copy link
Contributor

@mat-if mat-if commented Oct 25, 2024

Summary

The performance test CI job was regularly taking ~45 minutes, with it sometimes taking up to an hour and a half. The reason it takes more than 10 minutes at all is because it is downloading a 7.5gb yarn cache via the actions/setup-node job. This is unnecessary since it seems to have all of these files cached locally as it is.

After removing the yarn cache, it has to recompile the rust code on each run. However, since the runner is a fairly powerful machine, it only takes about a minute, which seems better than trying to download the cache from a data center somewhere over a somewhat slow wifi network.

See: https://github.com/iron-fish/ironfish/actions/runs/11523779611/job/32082513578

Testing Plan

Ran the perf job directly on the branch by adding it to the job's push branches and allowing the runner to run on this branch. https://github.com/iron-fish/ironfish/actions/runs/11523779611/job/32082513578

Documentation

N/A

Breaking Change

N/A

@mat-if mat-if requested a review from a team as a code owner October 25, 2024 18:58
@mat-if mat-if merged commit 022b41f into staging Oct 25, 2024
13 checks passed
@mat-if mat-if deleted the mat/fix-perf branch October 25, 2024 19:08
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