Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Build Speed (Read 4884 times)
Ergodic
Newbies
*
Offline


Posts: 8
Joined: Dec 1st, 2014
Build Speed
Dec 1st, 2014 at 5:52pm
Print Post  
Hi. Running licensed VMs w/ Arduino IDE 1.5.8, compiling to Due, on both a workstation and laptop. Both the workstation and laptop are roughly equivalent: Win7 Pro 64-bit, 8GB, SSD drive.

On the workstation, the build takes about 1 sec. and everything is fast.

On the laptop the build takes about 3 sec. - no big deal. But once the build is complete the VM IDE hangs for 15-20 seconds (after the "Binary Sketch Size..." message.) Process monitor shows Studio running at 25% CPU while that hang happens, so it's doing something.

I've checked all the network-ish things and tried disabling the antivirus, and verified the VM/VS settings/properties to be the same on both.

I'm wondering if you might have any ideas where to look further.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build Speed
Reply #1 - Dec 1st, 2014 at 5:56pm
Print Post  
Thanks for the useful info.

Please switch on "tools>visual micro>verbose messages" then try the build again.

What is displayed during the pause?

When you say build, do you mean just build or build and upload (start). What are you clicking to perform the build?

Which Ide are you using?

Thanks
  
Back to top
IP Logged
 
Ergodic
Newbies
*
Offline


Posts: 8
Joined: Dec 1st, 2014
Re: Build Speed
Reply #2 - Dec 1st, 2014 at 6:20pm
Print Post  
Verbose messages are on. There is nothing displayed in the Micro Build window after the "Binary Sketch Size..." message.

Studio just hangs after that message for about 15-20 seconds. No editing, no menu dropdowns, nothing. (I should note that everything works OK, it's just that that damn hang is seriously crimping my style.)

If I run process monitor on the workstation, AtmelStudio runs up to about 25% CPU (quad-core) during the build, but then drops right back down to 0% when it's done. Build time on the workstation shows about 0.9 to 1.1 seconds.

On the laptop, it seems to only run about 5-10% CPU during the build process, but then CPU goes up to 25% and stays high until about 15-20 seconds AFTER that final build message. Build time shows 3.17 seconds on the sketch size message.

Kind of weird.

Upload after build is maybe a bit slower, but nothing I care about. That could be USB ports or who-knows-what.

Arduino IDE is 1.5.8 on both. Atmel Studio shows 6.2.1502 SP1 on both.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build Speed
Reply #3 - Dec 1st, 2014 at 6:22pm
Print Post  
Hi,

This might be the gcc processes taking their time to finish but I am still unclear about if you are just building or also uploading.

If you click "Build>Build Solution" do you still get the same hang?

thanks

  
Back to top
IP Logged
 
Ergodic
Newbies
*
Offline


Posts: 8
Joined: Dec 1st, 2014
Re: Build Speed
Reply #4 - Dec 1st, 2014 at 6:30pm
Print Post  
Yes, sorry if I wasn't clear. Just F7 or "Build"..."Build Solution"
  
Back to top
 
IP Logged
 
Ergodic
Newbies
*
Offline


Posts: 8
Joined: Dec 1st, 2014
Re: Build Speed
Reply #5 - Dec 3rd, 2014 at 4:54am
Print Post  
FWIW to anyone searching this problem: I finally did a Tools... VM... IDE Reset, also reset the Arduino locations, then restarted VS on my laptop and now everything runs fine on it with no build hang.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build Speed
Reply #6 - Dec 3rd, 2014 at 3:24pm
Print Post  
Thanks for the update. I expect that restarting the ide was what was required because the other items are unconnected to the build process.

Appreciate the update thanks again
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint