On 2017-05-29 12:24, Mattias Gaertner wrote:
Jonas told that the benchmark program contains a number of bugs/wrong
translation from the C code:

And all of those recommendations were applied by Jon Foster and yielded only a 0.6% increase in speed.

"I ended up with an hour of extra time so I went over Jonas' suggestions again. I made tweaks fixing integer types, using trunc() instead of round, ... The over all improvement is only +0.6%, as I predicted nowhere near the 10x+ needed to compete with the other languages."

  -- Jon Foster (in the MSEide+MSEgui mailing list dated 2017-05-24)


So the major speed problem still seems to be the FPC optimisation with looping and not using SSEx when it is available.

I personally haven't tested with the latest FPC 3.1.1 yet.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to