This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC430F5137: Windows 10 version 2004, much slower code compiling

Part Number: CC430F5137

Tool/software: TI C/C++ Compiler

Hi,

After installing Windows 10 version 2004 the build times changed significantly. Has anyone else been subjected to this? It's gone from good to not sustainable.

15s clean build is now a 100s ordeal. (CCS 10, Windows 10 64 bit / TI v20.2.0.LTS)

I can't find anything obvious in the OS that is hogging resources, I posted a question over on Microsoft too :

https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/windows-10-version-2004-much-slower-code-compiling/1b491113-4473-4b50-9283-24ed511fc7d6?tm=1595227767697

  • From your post on the Microsoft support site, I learned that, when things work well, your system of 38 source files compiles in about 10-15 seconds.  From this, I guess that all of the source files, and all the functions within those files, are on the small side.  Say, no function is bigger than 100 lines, and no file has more than 10 functions.  If that is the case, then compilation time is dominated by all the file input/output operations.  In such a situation, the change in compilation time is not due to the compiler, but the host OS.  

    Please let me know if this guess sounds correct.

    Thanks and regards,

    -George

  • Here is one more thing to check ...

    Make sure CCS is configured to perform parallel builds.  That is usually on by default, but maybe it got turned off somehow.

    Thanks and regards,

    -George

  • Thanks George, that parallel build setting did it for me. Don't know what else has changed but I am back to ~19 sec clean builds. That is enough for me.

    May have been a fluke that it happened this morning when I updated to version 2004, let's see. Meanwhile I can work as before.