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

Adriaan van Os adriaan at adriaan.biz
Wed Mar 1 11:55:51 CET 2023


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.

I disagree here. It depends on what you are doing.

> 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.

That may have been "-Performance Matters- by Emery Berger". By I find it a nonsense video.

Regards,

Adriaan van Os


More information about the fpc-devel mailing list