Author Topic: Compile & Download time for Digix Board.  (Read 4856 times)

rholt

  • Newbie
  • *
  • Posts: 35
Compile & Download time for Digix Board.
« on: July 16, 2014, 01:05:25 pm »
I'm assuming that the time it takes to get a program up and running on the Digix board is a function of the following:
1) CPU type & speed
2) RAM amount
3) RAM available.
4) OS being used

I have Arduino IDE 1.5.6-r2 installed on:
my pc @ home -  Win 8.1pro (64bit), i7-3820 CPU @ 3.6Ghz, 20GB RAM
my laptop, it's a Sony Ultrabook and pretty fast, not so much RAM, 4GB
and just today, on my PC @ work: Win 7Pro (64bit) Xenon E5620 @ 2.4Ghz, 10.0GB RAM

the PC @ home and the Notebook are close in compile times. even with some programs open, i get a time of about 12 seconds to run a blank program before it becomes available.

but I have been trying out my board @ work & it has been taking 1+ MINUTES to Compile & Load!

Just wondering what are the main roadblocks to speed when Compiling & uploading?
Also, is over a minute an indication that something is wrong, possibly with my system setup?

thanks,
Russ from Coral Springs, Fl

my PC @

defragster

  • Sr. Member
  • ****
  • Posts: 467
Re: Compile & Download time for Digix Board.
« Reply #1 on: July 16, 2014, 01:57:09 pm »
Can you isolate/distinguish the Compile from the Upload time?

Do a Verify and time just that. 

And under File / Preferences enable one or both of 'show verbose output during:' compilation and upload.  This might show indications of troubles in the software install or the hardware interfacing slowing one down.  It should also allow you to identify the timing of each half so you can better compare.

gogol

  • Sr. Member
  • ****
  • Posts: 398
Re: Compile & Download time for Digix Board.
« Reply #2 on: July 16, 2014, 11:38:07 pm »
Let me guess, that you are working @work from a network share (or have roaming profile in addition).
The speed of the drive(s) are from my experience the most critical.
For me it compiles fastest on an 6yr old Thinkpad, which I recently upgraded with an SSD!

dougal

  • Sr. Member
  • ****
  • Posts: 289
Re: Compile & Download time for Digix Board.
« Reply #3 on: July 17, 2014, 04:38:26 am »
I've seen some anti-virus software that will really slow things down. And I bet that a compiler generating machine code would be something that some anti-virus software could impact greatly. Do you think that could be the culprit?

rholt

  • Newbie
  • *
  • Posts: 35
Re: Compile & Download time for Digix Board.
« Reply #4 on: July 25, 2014, 04:35:38 pm »
sorry i have not responded sooner.
Gogol, for the past month or so, I've put my sketches up on DropBox (a file distributing system) where the files are kept updated on each of the PC's that I have using Dropbox. the files are actually kept physically on each machine and are updated throughout the "network" when a change is detected.
but there must be something happening there - our company uses a network version of Kaspersky and i have not tried to run the program yet with first exiting Kaspersky on my machine. I'll give that a try soon. In the meantime, I've been running off my Sony Notebook when I'm there.

Russ from Coral Spring, Fl.

dfarrell

  • Newbie
  • *
  • Posts: 30
Re: Compile & Download time for Digix Board.
« Reply #5 on: July 30, 2014, 05:52:02 pm »
Use subversion and put the repository in the drop box, then check out locally.  You will also have the advantage of revert and diff to help find out why Arduino stops building.  Try putting a  char  test = ":  somewhere random in your sketch and compiling.  The un-terminated string kills the parser.  Now try to find the bug.  svn diff will show the typo from the last check-in.  This isn't the only Arduino  "feature".

Another speed killer, the way Arduino concatenates all files then builds take a lot longer that what Atmel Studio does (modular makes).  My project takes Arduino about 20 seconds to build on a fast dual quad Xeon Dell precision workstation.  Takes seconds with make alone.