[fpc-devel] @Gareth - Feedback on optimizations
Florian Klämpfl
florian at freepascal.org
Sun Jan 9 19:04:06 CET 2022
> Am 09.01.2022 um 18:59 schrieb Martin Frb via fpc-devel <fpc-devel at lists.freepascal.org>:
>
> Just thought this may be interesting.
> Though the results are for "eyeballing" at best -- see the video linked in Jonas' recent mail:
> https://lists.freepascal.org/pipermail/fpc-devel/2022-January/044336.html
>
> I run my FpDebug test case with 3.2.3 and 3.3.1 (both early Dec)
>
> The test runs about 15 secs (evaluating approx 70k watches).
> The test was done with a modified FpDebug for single threaded execution (threaded results are similar, but have more variance)
>
> Tests done with
>
> FPC 3.2.3 -O2 : 14.1 - 14.3 sec
> FPC 3.3.1 -O2 : 13.3 - 13.5 sec
>
> FPC 3.2.3 -O-1 -gw3 : 15.0 - 15.2 sec
> FPC 3.3.1 -O-1 -gw3 : 14.3 - 14.5 sec
>
> So on my PC, with this particular compilation setting the speedup (intentional plus side-effects) is 4 to 5 percent.
What about -O3?
More information about the fpc-devel
mailing list