Enable caching to accelerate compilation #169

Closed
opened 2026-04-05 17:52:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @m-RNA on 10/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

*Originally created by @m-RNA on 10/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](https://github.com/user-attachments/assets/265b2a8b-84e5-4b6a-b357-617b3c07b144) After enabling caching: ![After enabling caching](https://github.com/user-attachments/assets/679e13b9-bf7a-4d1c-8fe0-e4b60ba7cdc5) We can see that after enabling caching, except for the first time which takes a long time, subsequent compilations are very fast
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#169