Darwin (dramatic improvement here): --- silver:bin vszakats$ ./hbmk2 tstrcv.prg -mt -run Harbour 2.0.0beta2 (Rev. 11929) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'tstrcv.prg'... Lines 107, Functions/Procedures 4 Generating C source output to 'tstrcv.c'... Done.
First line: This is connection: 1 connection closed, lines: 1002 time: 0.65 sec. First line: This is connection: 2 connection closed, lines: 1002 time: 0.66 sec. First line: This is connection: 3 connection closed, lines: 1002 time: 0.65 sec. First line: This is connection: 4 connection closed, lines: 1002 time: 0.65 sec. First line: This is connection: 5 connection closed, lines: 1002 time: 0.66 sec. First line: This is connection: 6 connection closed, lines: 1002 time: 0.67 sec. First line: This is connection: 7 connection closed, lines: 1002 time: 0.66 sec. First line: This is connection: 8 connection closed, lines: 1002 time: 0.65 sec. First line: This is connection: 9 connection closed, lines: 1002 time: 0.66 sec. First line: This is connection: 10 connection closed, lines: 1002 time: 0.66 sec. ============================== total client time: 6.58 sec.^ ============================== client stopped server socked closed: 0 server stopped silver:bin vszakats$ ./hbmk2 tstrcv.prg -mt -run -runflag=1 Harbour 2.0.0beta2 (Rev. 11929) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'tstrcv.prg'... Lines 107, Functions/Procedures 4 Generating C source output to 'tstrcv.c'... Done. First line: This is connection: 1 connection closed, lines: 1002 time: 0.02 sec. First line: This is connection: 2 connection closed, lines: 1002 time: 0.02 sec. First line: This is connection: 3 connection closed, lines: 1002 time: 0.02 sec. First line: This is connection: 4 connection closed, lines: 1002 time: 0.03 sec. First line: This is connection: 5 connection closed, lines: 1002 time: 0.02 sec. First line: This is connection: 6 connection closed, lines: 1002 time: 0.02 sec. First line: This is connection: 7 connection closed, lines: 1002 time: 0.03 sec. First line: This is connection: 8 connection closed, lines: 1002 time: 0.02 sec. First line: This is connection: 9 connection closed, lines: 1002 time: 0.03 sec. First line: This is connection: 10 connection closed, lines: 1002 time: 0.02 sec. ============================== total client time: 0.24 sec.* ============================== client stopped server socked closed: 0 server stopped --- Brgds, Viktor On 2009.07.29., at 5:39, Przemyslaw Czerpak wrote:
I forgot about one thing. I'm attaching simple .prg code which can be linked with MT HVM which shows the speed overhead inside current hb_inetRecvLine(). Please check the speed difference when you executed compiled program without any parameter and with some non empty parameter. In the second version simple .prg function prg_recvline() is used with hb_inetRecv() to emulate read ahead buffer. BTW I'm interesting in Windows results for above code so if possible please I would like to ask desktop windows and WinCE/WinMobile users to send here "total client time" for above test code executed in both modes. best regards, Przemek <tstrcv.prg>_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
