IDE *very* slow under Windows 10

Windows XP,Vista,7,8 and 8.1 etc
Posts: 26
Joined: Sun May 08, 2016 12:19 am

Re: IDE *very* slow under Windows 10

Post by Signal32 » Sun Jul 10, 2016 7:56 pm

visual_micro wrote:
Signal32 wrote: Actually VisualMicro does some funky things about how it compiles the code( totally different than the Arduino IDE). From what I've seen it builds what it thinks won't change into libraries then it only builds the sketch file that you change into an object and does the linking. Sketch compiling is very fast, same with linking.
Because of this different approach to compiling I've hit some issues that made the binary unable to run so I had to do combinations of restart the IDE / clean / rebuild to get it to work. So it's not foolproof.
Might be useful to know that Visual Micro allows you to control the way the compiler cache works.

If you would like more info or to request new features then feel free to create a thread in the forum at

Having said that I wouldn't expect you to hit caching issues and would like to hear more detail in the forum if possible.

If you are a library or core editor and have toggled the "hidden" source codes into the current project? Again the compiler should be intelligent and handle changes correctly even if it means a full recompile. If not I would appreciate knowing about it.

Just a follow-up, after updating a bunch of stuff, I realized that when doing "Start Debugging" in Visual Studio with Visual MIcro, Visual Micro enables some debug behavior which apparently doesn't work for STM32 ( and I wasn't expecting it to work for stm32 ), causing the code to not run on the board (not sure why). Anyway the issue was that I didn't know that "Start Debugging" and "Run without debugging" actually generate different binaries.
The "Run without debugging" builds seem to all work fine so there is no issue with compilation. Start debugging still doesn't seem to currently work with STM32, but I wasn't planning on using that feature either way.

And yes, using Visual Micro, small-change builds are nearly instant taking under 1/2 seconds to build.

User avatar
Posts: 1829
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta

Re: IDE *very* slow under Windows 10

Post by mrburnette » Sun Jul 10, 2016 9:28 pm

Signal32 wrote: <...>
And yes, using Visual Micro, small-change builds are nearly instant taking under 1/2 seconds to build.
How many successive builds must one do to have an impact upon the quality of life between the difference of:
[*] a normal 7 second build (an 8 year old Acer notebook) using ArduinoIDE and
[*] a 0.5 second build on your hardware running Visual Micro ?

IMO, if any programmer is compiling so often that a few seconds of compile time is relevant to their productivity, then that programmer should strive for a greater disclipine in writing accurate code the first time.

Successive approximation is best for the Calculus, not the programming.


Post Reply