Comparison QB64 compiled with gcc optimizations and without
#16
66.1x seconds : program compiled with qb64 -Ofast
68.5x seconds : program compiled with original qb64

2 seconds apart. that's not good and surprising. you said in your post in the old forum :

time before adding -O2 to makeline_osx.txt 138.84375 seconds, after adding -O2, 42.6875 seconds, that's 3.25 times faster.

if this is what you said. it means that the -O2 option is more efficient than -Ofast for qb64 because with freebasic it is the opposite.

the tests performed on the sorting algorithms are equally surprising and unexpected.

I don't have time today but I'll have to modify my script to compile qb64 totally with the -O2 option to do this test again.

@Jack. Thank you for posting your code.
Reply


Messages In This Thread
RE: Comparison QB64 compiled with Ofast and without - by Coolman - 05-08-2022, 05:33 PM



Users browsing this thread: 16 Guest(s)