-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Turn off "browse information" in Uvision template #4578
Conversation
when was this option with 1 introduced? I noticed the build times recently were too long and my machine was not usable during it. What does this option do, I dont see explained, how a user is impacted with this option off (neither in the commit message, should specify why we are turning it off). Please update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my first comment
It is the indexer. The option "go to definition" or "find usages" for a symbol show up in the context menu if you right click. |
Can you update the commit message - why we are turning it off, we will run the CI right after. Interesting this affects building. Thanks for the description cc @ReinhardKeil if anyone from the team can have a look at this, could indexer cause x minutes delay with building? |
"Browse information," or the indexer for MDK, causes extremely long build times when enabled.
@0xc0170 updated the commit message. |
Just giving some background information: As the ARM Compiler 6 does not generate this omf source browse information, we have developed a way to generate this source browse information dynamically using the armclang and therefore it becomes independent from the build of the application, hence no impact on the build time. This will be release as part of MDK 5.24 later next week but only becomes effective if the ARM compiler 6 is selected. If you have any questions, don't hesitate to contact me (@jkrech) |
Thank you @jkrech for the info. I'll run CI /morph export-build |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 72 All exports and builds passed! |
Build time went from 2.5 hours to just over an hour, much much better! Thanks so much @sarahmarshy for fixing this! |
Description
We were seeing extraordinarily long build times in Uvision 5.24. Sometimes > than 20 minutes for blinky. @bridadan reported 10 minute builds during export-build tests, even on the CI machines. I've found that enabling Uvision's "browse information," which is essentially their indexer, is responsible for this. With this option turned off, I saw a 19 minute reduction in build time when compiling blinky for NUCLEO_F439ZI.
As a note, I realize this is an important feature for the IDE. If a user tries to use it when the option is turned off, Uvision provides instructions for turning it on.
Status
READY
Steps to test or reproduce
In uvision, go to: options for target > output> browse information. Try compiling with it on/off.
@theotherjimmy