Angular Compiler Is Really Slow
I have found that this is a common issue across my development machines, however using Visual Micro for Visual Studio reduces this time by a significant factor.I primarily use it for other Visual Studio features like Intellisense, refactoring, and solution management. Visual Micro has some compelling features of its own, like debugging tools, however I haven't used them.I haven't personally tried, but I would expect that you can avoid the rebuild using the project/solution options in Visual Studio - I found that the compile time is fast enough in most cases with this environment for it to not matter. If you find compilation slow then yes, it is probably recompiling things that it doesn't really need to recompile. This has always been a major failing of the Arduino environment, and is one of the major impetuses for the complete re-write of the whole compilation system in my IDE.That includes very aggressive caching of compiled library and core files as proper '.a' files which are stored away separate from your board selection and kept until something really does need compiling. That way the first time you compile something for a board it may take 30 seconds, 50 seconds, whatever. All subsequent compilations for that same board, even for different sketches (not including the compilation time of 'fresh' libraries) would be around 2 seconds, even less.That caching is especially important when you're running on a very slow system, such as a Raspberry Pi, when compiling can take many minutes without the caches in place, but only a few seconds on all subsequent compilations.
The article covers it all really, and it can help when packaging an extension. I found that my Peacock extension was putting 48 files in the package. I made a few tweaks and I cut this down by a lot. First, I added some file to the.vscodeignore file. A common source of slow Angular applications is incorrect use of ng-hide and ng-show over ng-if or ng-switch. The distinction is nontrivial, and the importance can not be overstated in the context of performance. Ng-hide and ng-show simply toggle the CSS display property. What that means in practice is that anything shown or hidden will still be on the page, albeit invisible.
The IDE itself is just a Java application. As such it should run fine on FreeBSD. I had it going on there myself once - even made a port for it (in the early days that is).
It should still run fine, though may require a little bit of bending. Use the Linux ZIP version and edit the uecide script file to suit.
The hard part though will be getting the plugins to work. They need native binaries, such as compilers, programmers, etc. If you can find those kind of things for FreeBSD then you may have some success at making it work - if not, not.–Aug 19 '16 at 13:03. I had the same problem until today. Like many answers around the web, the problem seems to come from the anti-virus. My setup is Windows 10 x64 with a SSD and I use Windows Defender as the AV.I tried by excluding the main arduino folder in 'c:program files (x86)arduino', but it didn't improve the compilation time.I checked the 'verbose' option in the Arduino IDE and I've seen that it was calling the compiler from the AppData folder. So I add this folder to my AV exclusion list and it worked!The compilation time improve by ten folds.TLDR; In Windows 10, add the folder in%USERPROFILE%AppDataLocalArduino15 to the AV exclusion list.
Hi @Greenonline, fair enough, I'll report my results once I test these suggestions. It's just the issue doesn't seem to be simple and many users suffer it because of different causes, so I think some solutions successful for others are no less useful than the one which will help me. Visio standard vs professional. As for the issue, I have to test several things, including - IDE recompiles the whole thing each time? (this is mentioned in some threads, but I have no idea how to check this) - smth consumimg CPU?
(don't see anything in task manager) - anything I can configure in Comodo? Looks like all is permitted for )–Feb 2 '16 at 18:17.