Arduino IDE 1.8.6

Coudnt find appropriate thread to post in.

After switching to 1.8.6 compile time is 2-4 times longer than on 1.8.5. Does anyone notice this “issue” ?

To recheck i downloded 1.8.5 again and compared visually compile time is faster.

Just ran a 20KB file through 1.8.6, 1.8.5 and 1.8.4, they all took about 2.5 seconds to compile. You might think about re-installing 1.8.6.

Reinstalled and no difference.

One thing I did notice was that with 1.8.6 the code was smaller. There may be some default optimization set differently although each should be -Os. You can use a pragma at the start of your code to change the optimization and see if that has an effect.
#pragma GCC optimize ("-Os")
change "-Os" to the level you want.

Hi,
What OS are you running?
What computer?

Tom.. :slight_smile:

DKWatson:
One thing I did notice was that with 1.8.6 the code was smaller. There may be some default optimization set differently although each should be -Os.

1.8.6 has updated AVR-GCC to version 5.4.0. That may make a difference.

Windows 10 64bit
Its a netbook pretty weak hardware. But does this matter if i tested both ide versions with same hardware?

@Dkwatson i will try that method when will get home.

Yes i read the changelog may be its because of new gcc and there was also written that it should work faster but in my case it’s opposite.
Tried small code softwareserial example and long code too more than 5k lines. Its speed degradation is noticeable with long codes then with short ones.