[fpc-pascal] Happy tickets benchmark

Serguei TARASSOV serge at arbinada.com
Fri Feb 19 13:31:58 CET 2016


On 17/02/2016 12:00, fpc-pascal-request at lists.freepascal.org wrote:
> Date: Tue, 16 Feb 2016 12:48:31 +0100 (CET)
> From: Michael Van Canneyt<michael at freepascal.org>
> To: FPC-Pascal users discussions<fpc-pascal at lists.freepascal.org>
> Subject: Re: [fpc-pascal] Happy tickets benchmark
>
>
> I have asked Florian to integrate his patch anyway, he has agreed,
> so I imagine it will result in a new -OoNNN switch.
>
> Michael.
Good news.
Do you have any ideas why this kind of optimization is special?

For info, simple loop test like

   while i < 1000000000 do
     i := i + 1;

shows that the FPC code is 2 times slower than Delphi 7 and Borland C 
5.5 and 4 times slower that C#.

Regards,
Serguei




More information about the fpc-pascal mailing list