[fpc-devel] Curious about the effect of all the new optimizations....

Martin Frb lazarus at mfriebe.de
Wed Mar 1 13:51:46 CET 2023


On 01/03/2023 11:47, Bart via fpc-devel wrote:
> On Wed, Mar 1, 2023 at 11:33 AM Martin Frb via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
>> So for a while now fpc 3.3.1 receives new optimizations => which is
>> great / big fan of it.
>>
>> And hence I thought, lets see how much of an impact they have. And in my
>> test, they had none :(
> Optimizations beyond O2 (or even O1) most of the times do not make a
> difference for the average user.
> There is much randomness in the performance of an application caused
> by things you cannot control, which have more influence on the
> performance of the application
> I watched a video about this not so long ago (it was about
> optimization levels in gcc), which explained all this, but I'm unable
> to find that again and unanble to reproduce what was being said there.
>
I know the video.

Eyeballing and alignment issues were among the causes. For the latter I 
tried to see if codealign would have an effect. Though of course if it 
had, it be a lucky strike.


More information about the fpc-devel mailing list