Hi,

I do not think it's a fair test condition for your executables by flooding it with [Enter], but here are the times:

C:\harbour\__tst__>spd-bcc-gc2.exe       64.44 / 67.44
C:\harbour\__tst__>spd-mgw-gc2.exe       53.03 / 55.47
C:\harbour\__tst__>spd-mgw-gc2-Os.exe    65.92 / 69.02

and my:

C:\harbour\tests\speedtst_bcc.exe        70.23 / 72.88
C:\harbour\tests\speedtst_gcc_strip.exe  58.48 / 60.63

I need to test -gc2 harbour and -gc2 speedtst, but I can not found "gc3" in /config folder recursively. How can I change Harbour compile to gc2, and how in hbmk2?

Sorry, I have not noticed the answer in your message:
>   set HB_USER_PRGFLAGS=-gc2

C:\harbour\tests\speedtst_bcc_gc2.exe       66.31 / 68.67

Hmmm, gc2 is faster than gc3?!...

set HB_EXTERNALLIBS=no
set HB_CONTRIBLIBS=no
GCC Harbour compile time: 13min 12sec


-----------------------------
Ok, I see your new letter. My tests are recompiled:
  hbmk2 -comp={bcc|mingw} -n -w -es2 -l -gc2 speedtst.prg
speedtst_bcc_gc2.exe   611328
speedtst_gcc_gc2_strip.exe 891392

spd-bcc-gc2.exe 600576
spd-mgw-gc2.exe 882688

Your exe is still a little bit smaller. Maybe just because of different GT. Why I do need to stuff GTSTD with keyboard events, to make application work?


Here are new times of all tests with //gtnul:

speedtst_bcc_gc2.exe           67.47 / 70.45
speedtst_gcc_gc2_strip.exe     55.80 / 56.66
speedtst_bcc_gc3.exe           68.56 / 69.88 (old .exe, no -l option)
spd-bcc-gc2.exe                64.08 / 64.83
spd-mgw-gc2.exe                52.78 / 53.27
spd-mgw-gc2-Os.exe             62.73 / 63.41

One more time:

speedtst_bcc_gc2.exe           64.97 / 68.08
speedtst_gcc_gc2_strip.exe     55.44 / 56.44  (old .exe, no -l option)
speedtst_bcc_gc3.exe           68.13 / 71.20
spd-bcc-gc2.exe                63.72 / 64.20
spd-mgw-gc2.exe                52.31 / 54.61
spd-mgw-gc2-Os.exe             63.47 / 64.13

One of the strangest thing is that BCC .exe cross-compiled under Wine is a little faster, than compiled on Windows (both running on Windows).

BCC / GCC speed difference much smaller on Windows, about 16%.


Regards,
Mindaugas





_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to