cancel
Showing results for 
Search instead for 
Did you mean: 

Application code slower in 1.14.1 vs 1.5.0

JaredP
Associate

Hi all!

I have been working on a C++ project for the STM32F476G-DISCO, which was originally created in 1.5.0 of the IDE. Given the QoL improvements in the IDE updates, I thought it would be worth updating.

My application has image processing included so I am able to monitor the FPS accordingly. With this in mind, I have noted that upgrading to 1.14.1 (with no project changes required) has yielded me an FPS reduction of about 8 % on average.

It is not a huge reduction, but naturally I am curious as to whether anyone could potentially provide some insight on why this might be happening. As far as I can see, all optimisation settings have been maintained when importing to 1.14.1 - perhaps new flags/commands I am missing?

For reference, the compiler versions per IDE are as follows:

1.5.0: gnu-tools-for-stm32.7-2018-q2-update.macos64_1.5.0.202011040924 (arm-non-eabi) C++ 7.3.1

1.14.1: gnu-tools-for-stm32.11.3.rel1.macos64_1.1.100.202310310803 (arm-none-eabi) C++ 11.3.1

Thanks in advance, and please do not hesitate to query additional information that would assist with this query!

2 REPLIES 2
Pavel A.
Evangelist III

What compiler settings for optimization are in use?

JaredP
Associate

1.5.0 optimisation config:

JaredP_0-1707284645619.png

 

1.14.1 optimisation config:

JaredP_1-1707284703678.png