didoudiaz / gprolog

GNU Prolog
Other
106 stars 13 forks source link

Ubuntu defaults so that GNU compile result is speedy #69

Closed Jean-Luc-Picard-2021 closed 2 months ago

Jean-Luc-Picard-2021 commented 1 year ago

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 commented 1 year ago

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 commented 2 months ago

Possibly need to close this ticket anyway, this GitHub seems to be completely dead, just like GNU Prolog. The ticket was opened 12 months ago. It was neither classified by

severity nor otherwise touched by any GNU developer.