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

Enable caching to accelerate compilation #354

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

m-RNA
Copy link
Contributor

@m-RNA m-RNA commented Oct 27, 2024

This Pr utilizes PlatformIO's feature of enabling caching to speed up compilation, and each time the code is changed, only the changed part is compiled, which can greatly speed up development and verification.

Debug compilation time:
First time:
First time
After enabling caching:
After enabling caching

We can see that after enabling caching, except for the first time which takes a long time, subsequent compilations are very fast

@m-RNA m-RNA marked this pull request as draft October 27, 2024 05:06
@m-RNA m-RNA marked this pull request as ready for review October 27, 2024 05:07
@Eirenliel Eirenliel merged commit e075117 into SlimeVR:main Oct 27, 2024
1 check passed
gorbit99 pushed a commit to kounocom/SlimeVR-Tracker-ESP that referenced this pull request Nov 12, 2024
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