Skip to content

Optimizing actions #25539

Answered by jherico
kudaba asked this question in Actions
Discussion options

You must be logged in to vote

For 1, you just have to research things that generally help build speed locally.  If you’re building C++/C consider looking into precompiled headers, and/or investigate building with Clang (in my experience the Clang compiler ends up being much faster than MSVC)

For 2, you should try to determine what devenv is doing and where it’s putting artifacts that incur the startup cost, and then modify your workflow to try to cache those locations.  Unfotunately the caching right now is very limited (2 GB per repository, which is easy to blow past for a Windows C++/C build toolchain).  On the other hand if this startup time is orthogonal to your actual project configuration, maybe file an issue he…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants