gprolog icon indicating copy to clipboard operation
gprolog copied to clipboard

Ubuntu defaults so that GNU compile result is speedy

Open Jean-Luc-Picard-2021 opened this issue 1 year ago • 1 comments

Was compiling GNU Prolog 1.6.0 on WSL2 / Ubuntu, but the result is only half as fast as the GNU Prolog 1.4.5

distribution. How can I compile it to get same speed, or is the 1.6.0 generally slower than the 1.4.5 for some reasons?

Jean-Luc-Picard-2021 avatar Nov 11 '23 00:11 Jean-Luc-Picard-2021

Could it be that the distribution used Profile Guided Optimization (PGO) to build it? If I am not totally mistaken SWI-Prolog has switched to PGO for its builds? On my Windows machine long time SWI-Prolog was slower than

GNU Prolog 1.5.0 exe, now for my benchmark suite SWI-Prolog is suddently faster!

Jean-Luc-Picard-2021 avatar Nov 11 '23 13:11 Jean-Luc-Picard-2021