Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 34 of 34

Thread: Arduino 1.6.3 & Teensduino 1.2.3 = too many files generated during compilation

  1. #26
    Senior Member
    Join Date
    Jan 2013
    Posts
    966
    I measured as well using the Arduino Eclipse IDE with a rather big sketch that compiles to over 60k and imports 9 libraries.
    12sec first time 2 sec for consecutive compiles.

  2. #27
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,682
    Quote Originally Posted by vsurducan View Post
    Well, I don't know guys how it works for you in 3seconds
    ....
    Definitely not the computer or the Win is the problem but the IDE
    Vasile, everyone else reports much faster performance with the same software running on different hardware, yet you still you complain software is the problem and your computer's hardware is not at fault!

  3. #28
    Quote Originally Posted by Frank B View Post
    Just measured it:

    First compile empty sketch: 12 sec, after that less than 1 sec.

    SSD: Samsung SSD 850 EVO 250GB
    System : i5 3570K @ 3.4 GHz, Win 7 Ultimate, 8 GB


    and ...let me add another 30 years :-)
    Finally this seems a correct measurement!

    Mine: SSD the same (EVO250GB)
    Windows7 Home Premium
    System I7-2720QM, 2200MHz, 8GB RAM

    My first compilation is 8-9 seconds, the second is around 1 second.
    If I do the same on 3GHz/2GB/WIN XP single core machine, the first compilation will take more than 20s.

    Now, a sketch (with reasonable code lenght) compilation will take about 20s on the I7 system and more than 50s on 3GHz/2GB RAM/WIN XP

    Paul, how much takes your compilations (the blank sketch) under the gcc avr?

    I will complain until the Arduino IDE creators will understand the crap they did...
    Last edited by vsurducan; 06-29-2015 at 05:25 PM.

  4. #29
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    My compiles take longer, but I attribute that to xCode, not the Teensy or Arduino IDE.
    Last edited by Constantin; 06-29-2015 at 05:56 PM.

  5. #30
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,679
    You told us in post #5 a much longer time for a blank sketch ?
    Anyway, how often do you execute this first compile ?
    Once a day ? 2, 3 ? 10?

    For deleteing the tempfolder i use a batch which executes a boot..
    I did not try this, but may be moving the tempfolder to ramdisk could help ?
    Last edited by Frank B; 06-29-2015 at 05:53 PM.

  6. #31
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,682
    Quote Originally Posted by vsurducan View Post
    Now, a sketch (with reasonable code lenght) compilation will take about 20s on the I7 system and more than 50s on 3GHz/2GB RAM/WIN XP
    Again, I'm going to remind you of the "forum rule".

  7. #32
    Senior Member
    Join Date
    Jan 2013
    Posts
    966
    Quote Originally Posted by vsurducan View Post
    I will complain until the Arduino IDE creators will understand the crap they did...
    I'd really hope you would not!

    I am not a particular friend of the Arduino IDE but it's simplicity was very helpful when I got backing electronics 4 years ago after a 20 year hiatus. That simplicity also helps a lot of folks that don't have an engineering background so all in all for what it does, the Arduino IDE is a wonderful thing for many many people.

    Also, I'd like to remind you that the Arduino IDE is a product of an enormous amount of volunteer work. A good number of People have contributed an enormous amount of their spare time to create a tool. Many more people have created a wealth of libraries that talk to a large number of different devices. A little gratitude goes a long way. What have you contributed so far ?

    Then there is a host of alternative IDEs available that use the underpinnings of the Arduino framework but provide you with the experience of a full featured IDE:
    Visual Studio with the Visual Micro Plugin (Windows only)
    Arduino Eclipse IDE (Windows, Mac, Linux)
    embedXcode (Mac only)

    If you have problems with a library, this is a DIY, open source world. Most of the stuff ins on GitHub. Fix the code, create a pull request. Thats another way of contributing to the greater good.

  8. #33
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,945
    Quote Originally Posted by Frank B View Post
    You told us in post #5 a much longer time for a blank sketch ?
    Anyway, how often do you execute this first compile ?
    Once a day ? 2, 3 ?
    Since my laptop is slow I can point out any LC to 3.1 swap, or any compiling changes to speed or compile type causes a full rebuild. I just cloned in a new hdd that should show improvement, since the clone claimed it saw fail and took way too long, though initial tests seem okay.

  9. #34
    Senior Member
    Join Date
    Nov 2013
    Posts
    719
    @vsurducan: If you wouldn't mind; what experiences are you comparing this stuff to? That is, which programming platforms have you used, with which targets, in the past to give you such great insight into how the compiler *should* work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •