On Wednesday 08 October 2008 05:10:19 am Przemyslaw Czerpak wrote:

> OK. If possible please try current SVN 

[EMAIL PROTECTED] harbour]$ export C_USR=-DHB_GUI

[EMAIL PROTECTED] harbour]$ mpkg_tgz.sh

install resulting tarball as root

[EMAIL PROTECTED] harbour]$ cd tests
[EMAIL PROTECTED] tests]$ hbmk -n -w -es2 -mt speedtst
Harbour 1.1.0dev (Rev. 9564)                       
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'speedtst.prg'...                             
Lines 876, Functions/Procedures 72                      
Generating C source output to 'speedtst.c'... Done.     
[EMAIL PROTECTED] tests]$ for i in 1 2 4 6 8; 
do ./speedtst --exclude=mem --scale --thread=$i; done

10/09/08 00:57:00 Linux 2.6.26.3-29.fc9.i686 i686
Harbour 1.1.0dev (Rev. 9564) (MT)+ GNU C 4.3 (32 bit)
THREADS: 1                                           
N_LOOPS: 1000000                                     
excluded tests: 029 030 023 025 027 040 041 043 052 053 019 022 031 032 054
                                                        1 th.  1 th.  factor
============================================================================
[ T001: x := L_C ]____________________________________  0.16   0.14 ->  1.15
[ T002: x := L_N ]____________________________________  0.16   0.14 ->  1.14
[ T003: x := L_D ]____________________________________  0.14   0.14 ->  1.00
[ T004: x := S_C ]____________________________________  0.14   0.14 ->  1.01
[ T005: x := S_N ]____________________________________  0.14   0.15 ->  0.90
[ T006: x := S_D ]____________________________________  0.14   0.14 ->  1.00
[ T007: x := M_C ]____________________________________  0.15   0.15 ->  0.98
[ T008: x := M_N ]____________________________________  0.14   0.14 ->  1.00
[ T009: x := M_D ]____________________________________  0.16   0.15 ->  1.06
[ T010: x := P_C ]____________________________________  0.15   0.15 ->  1.00
[ T011: x := P_N ]____________________________________  0.19   0.15 ->  1.31
[ T012: x := P_D ]____________________________________  0.14   0.18 ->  0.75
[ T013: x := F_C ]____________________________________  0.27   0.28 ->  0.97
[ T014: x := F_N ]____________________________________  0.31   0.31 ->  0.98
[ T015: x := F_D ]____________________________________  0.19   0.18 ->  1.02
[ T016: x := o:GenCode ]______________________________  0.29   0.29 ->  0.98
[ T017: x := o[8] ]___________________________________  0.21   0.22 ->  0.96
[ T018: round( i / 1000, 2 ) ]________________________  0.44   0.43 ->  1.02
[ T020: val( s ) ]____________________________________  0.38   0.38 ->  1.00
[ T021: val( a [ i % 16 + 1 ] ) ]_____________________  0.62   0.62 ->  1.00
[ T024: eval( bc := { || i % 16 } ) ]_________________  0.42   0.42 ->  1.00
[ T026: eval( bc := { |x| x % 16 }, i ) ]_____________  0.42   0.42 ->  1.00
[ T028: eval( bc := { |x| f1( x ) }, i ) ]____________  0.53   0.54 ->  0.98
[ T033: x := a[ i % 16 + 1 ] == s ]___________________  0.50   0.50 ->  1.00
[ T034: x := a[ i % 16 + 1 ] = s ]____________________  0.50   0.50 ->  1.00
[ T035: x := a[ i % 16 + 1 ] >= s ]___________________  0.52   0.52 ->  1.00
[ T036: x := a[ i % 16 + 1 ] <= s ]___________________  0.52   0.50 ->  1.03
[ T037: x := a[ i % 16 + 1 ] < s ]____________________  0.53   0.53 ->  1.00
[ T038: x := a[ i % 16 + 1 ] > s ]____________________  0.51   0.52 ->  0.98
[ T039: ascan( a, i % 16 ) ]__________________________  0.54   0.53 ->  1.00
[ T042: x := a ]______________________________________  0.15   0.15 ->  1.00
[ T044: f0() ]________________________________________  0.24   0.24 ->  1.00
[ T045: f1( i ) ]_____________________________________  0.30   0.31 ->  0.97
[ T046: f2( c[1...8] ) ]______________________________  0.31   0.29 ->  1.05
[ T047: f2( c[1...40000] ) ]__________________________  0.29   0.30 ->  0.97
[ T048: f2( @c[1...40000] ) ]_________________________  0.29   0.29 ->  1.00
[ T049: f2( @c[1...40000] ), c2 := c ]________________  0.35   0.34 ->  1.02
[ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________  0.63   0.63 ->  1.01
[ T051: f2( a ) ]_____________________________________  0.30   0.31 ->  0.95
============================================================================
[   TOTAL   ]_________________________________________ 12.33  12.32 ->  1.00
============================================================================
[ total application time: ]....................................24.55        
[ total real time: ]...........................................24.65        

10/09/08 00:57:25 Linux 2.6.26.3-29.fc9.i686 i686
Harbour 1.1.0dev (Rev. 9564) (MT)+ GNU C 4.3 (32 bit)
THREADS: 2                                           
N_LOOPS: 1000000                                     
excluded tests: 029 030 023 025 027 040 041 043 052 053 019 022 031 032 054
                                                        1 th.  2 th.  factor
============================================================================
[ T001: x := L_C ]____________________________________  0.31   0.51 ->  0.60
[ T002: x := L_N ]____________________________________  0.30   0.35 ->  0.85
[ T003: x := L_D ]____________________________________  0.30   0.35 ->  0.87
[ T004: x := S_C ]____________________________________  0.29   0.62 ->  0.47
[ T005: x := S_N ]____________________________________  0.28   0.35 ->  0.82
[ T006: x := S_D ]____________________________________  0.28   0.34 ->  0.83
[ T007: x := M_C ]____________________________________  0.31   0.48 ->  0.65
[ T008: x := M_N ]____________________________________  0.30   0.38 ->  0.79
[ T009: x := M_D ]____________________________________  0.30   0.35 ->  0.86
[ T010: x := P_C ]____________________________________  0.31   0.43 ->  0.72
[ T011: x := P_N ]____________________________________  0.33   0.38 ->  0.88
[ T012: x := P_D ]____________________________________  0.33   0.35 ->  0.94
[ T013: x := F_C ]____________________________________  0.59   0.49 ->  1.19
[ T014: x := F_N ]____________________________________  0.64   0.50 ->  1.27
[ T015: x := F_D ]____________________________________  0.44   0.40 ->  1.10
[ T016: x := o:GenCode ]______________________________  0.59   0.74 ->  0.80
[ T017: x := o[8] ]___________________________________  0.41   0.53 ->  0.78
[ T018: round( i / 1000, 2 ) ]________________________  0.90   0.79 ->  1.15
[ T020: val( s ) ]____________________________________  0.76   0.67 ->  1.13
[ T021: val( a [ i % 16 + 1 ] ) ]_____________________  1.31   1.24 ->  1.06
[ T024: eval( bc := { || i % 16 } ) ]_________________  0.83   1.15 ->  0.72
[ T026: eval( bc := { |x| x % 16 }, i ) ]_____________  0.80   1.03 ->  0.77
[ T028: eval( bc := { |x| f1( x ) }, i ) ]____________  1.14   1.39 ->  0.82
[ T033: x := a[ i % 16 + 1 ] == s ]___________________  1.13   1.31 ->  0.86
[ T034: x := a[ i % 16 + 1 ] = s ]____________________  1.01   1.25 ->  0.81
[ T035: x := a[ i % 16 + 1 ] >= s ]___________________  1.01   1.24 ->  0.81
[ T036: x := a[ i % 16 + 1 ] <= s ]___________________  1.02   1.24 ->  0.82
[ T037: x := a[ i % 16 + 1 ] < s ]____________________  1.01   1.25 ->  0.81
[ T038: x := a[ i % 16 + 1 ] > s ]____________________  1.02   1.24 ->  0.82
[ T039: ascan( a, i % 16 ) ]__________________________  0.98   0.92 ->  1.07
[ T042: x := a ]______________________________________  0.31   0.51 ->  0.61
[ T044: f0() ]________________________________________  0.46   0.68 ->  0.68
[ T045: f1( i ) ]_____________________________________  0.58   0.80 ->  0.73
[ T046: f2( c[1...8] ) ]______________________________  0.65   0.89 ->  0.73
[ T047: f2( c[1...40000] ) ]__________________________  0.63   0.90 ->  0.70
[ T048: f2( @c[1...40000] ) ]_________________________  0.58   0.85 ->  0.68
[ T049: f2( @c[1...40000] ), c2 := c ]________________  0.69   1.03 ->  0.67
[ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________  1.28   1.61 ->  0.80
[ T051: f2( a ) ]_____________________________________  0.57   0.90 ->  0.63
============================================================================
[   TOTAL   ]_________________________________________ 24.98  30.42 ->  0.82
============================================================================
[ total application time: ]....................................85.11        
[ total real time: ]...........................................55.40        

10/09/08 00:58:20 Linux 2.6.26.3-29.fc9.i686 i686
Harbour 1.1.0dev (Rev. 9564) (MT)+ GNU C 4.3 (32 bit)
THREADS: 4                                           
N_LOOPS: 1000000                                     
excluded tests: 029 030 023 025 027 040 041 043 052 053 019 022 031 032 054
                                                        1 th.  4 th.  factor
============================================================================
[ T001: x := L_C ]____________________________________  0.65   1.29 ->  0.50
[ T002: x := L_N ]____________________________________  0.61   0.92 ->  0.67
[ T003: x := L_D ]____________________________________  0.58   0.91 ->  0.63
[ T004: x := S_C ]____________________________________  0.56   1.95 ->  0.29
[ T005: x := S_N ]____________________________________  0.56   0.90 ->  0.62
[ T006: x := S_D ]____________________________________  0.55   0.94 ->  0.58
[ T007: x := M_C ]____________________________________  0.62   1.46 ->  0.43
[ T008: x := M_N ]____________________________________  0.64   0.98 ->  0.65
[ T009: x := M_D ]____________________________________  0.61   0.94 ->  0.65
[ T010: x := P_C ]____________________________________  0.61   1.09 ->  0.56
[ T011: x := P_N ]____________________________________  0.56   0.97 ->  0.57
[ T012: x := P_D ]____________________________________  0.58   1.07 ->  0.54
[ T013: x := F_C ]____________________________________  1.11   1.26 ->  0.88
[ T014: x := F_N ]____________________________________  1.26   0.94 ->  1.33
[ T015: x := F_D ]____________________________________  0.75   0.88 ->  0.86
[ T016: x := o:GenCode ]______________________________  1.18   1.55 ->  0.76
[ T017: x := o[8] ]___________________________________  0.86   1.32 ->  0.65
[ T018: round( i / 1000, 2 ) ]________________________  1.70   1.80 ->  0.94
[ T020: val( s ) ]____________________________________  1.57   1.53 ->  1.03
[ T021: val( a [ i % 16 + 1 ] ) ]_____________________  2.63   2.83 ->  0.93
[ T024: eval( bc := { || i % 16 } ) ]_________________  1.71   2.78 ->  0.62
[ T026: eval( bc := { |x| x % 16 }, i ) ]_____________  1.62   2.36 ->  0.69
[ T028: eval( bc := { |x| f1( x ) }, i ) ]____________  2.21   3.31 ->  0.67
[ T033: x := a[ i % 16 + 1 ] == s ]___________________  2.05   3.10 ->  0.66
[ T034: x := a[ i % 16 + 1 ] = s ]____________________  2.05   3.13 ->  0.66
[ T035: x := a[ i % 16 + 1 ] >= s ]___________________  2.03   3.14 ->  0.65
[ T036: x := a[ i % 16 + 1 ] <= s ]___________________  2.03   3.04 ->  0.67
[ T037: x := a[ i % 16 + 1 ] < s ]____________________  2.06   3.13 ->  0.66
[ T038: x := a[ i % 16 + 1 ] > s ]____________________  2.04   3.00 ->  0.68
[ T039: ascan( a, i % 16 ) ]__________________________  2.11   2.01 ->  1.05
[ T042: x := a ]______________________________________  0.66   1.37 ->  0.48
[ T044: f0() ]________________________________________  1.02   1.65 ->  0.62
[ T045: f1( i ) ]_____________________________________  1.19   2.08 ->  0.58
[ T046: f2( c[1...8] ) ]______________________________  1.20   2.15 ->  0.56
[ T047: f2( c[1...40000] ) ]__________________________  1.19   2.16 ->  0.55
[ T048: f2( @c[1...40000] ) ]_________________________  1.20   2.17 ->  0.55
[ T049: f2( @c[1...40000] ), c2 := c ]________________  1.42   2.55 ->  0.55
[ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________  2.63   4.09 ->  0.64
[ T051: f2( a ) ]_____________________________________  1.20   2.20 ->  0.54
============================================================================
[   TOTAL   ]_________________________________________ 49.80  74.94 ->  0.66
============================================================================
[ total application time: ]...................................341.53        
[ total real time: ]..........................................124.75        

10/09/08 01:00:25 Linux 2.6.26.3-29.fc9.i686 i686
Harbour 1.1.0dev (Rev. 9564) (MT)+ GNU C 4.3 (32 bit)
THREADS: 6                                           
N_LOOPS: 1000000                                     
excluded tests: 029 030 023 025 027 040 041 043 052 053 019 022 031 032 054
                                                        1 th.  6 th.  factor
============================================================================
[ T001: x := L_C ]____________________________________  0.94   1.89 ->  0.50
[ T002: x := L_N ]____________________________________  0.95   1.49 ->  0.64
[ T003: x := L_D ]____________________________________  0.88   1.50 ->  0.59
[ T004: x := S_C ]____________________________________  0.96   2.32 ->  0.41
[ T005: x := S_N ]____________________________________  0.92   1.51 ->  0.61
[ T006: x := S_D ]____________________________________  0.91   1.46 ->  0.62
[ T007: x := M_C ]____________________________________  0.94   1.95 ->  0.48
[ T008: x := M_N ]____________________________________  0.97   1.54 ->  0.63
[ T009: x := M_D ]____________________________________  0.95   1.59 ->  0.60
[ T010: x := P_C ]____________________________________  1.04   1.57 ->  0.66
[ T011: x := P_N ]____________________________________  1.04   1.55 ->  0.67
[ T012: x := P_D ]____________________________________  0.92   1.47 ->  0.63
[ T013: x := F_C ]____________________________________  1.70   1.99 ->  0.85
[ T014: x := F_N ]____________________________________  1.97   1.42 ->  1.39
[ T015: x := F_D ]____________________________________  1.20   1.43 ->  0.84
[ T016: x := o:GenCode ]______________________________  1.78   2.33 ->  0.77
[ T017: x := o[8] ]___________________________________  1.31   2.07 ->  0.63
[ T018: round( i / 1000, 2 ) ]________________________  2.66   2.71 ->  0.98
[ T020: val( s ) ]____________________________________  2.38   2.28 ->  1.04
[ T021: val( a [ i % 16 + 1 ] ) ]_____________________  3.94   4.38 ->  0.90
[ T024: eval( bc := { || i % 16 } ) ]_________________  2.56   4.19 ->  0.61
[ T026: eval( bc := { |x| x % 16 }, i ) ]_____________  2.55   3.53 ->  0.72
[ T028: eval( bc := { |x| f1( x ) }, i ) ]____________  3.44   4.94 ->  0.70
[ T033: x := a[ i % 16 + 1 ] == s ]___________________  3.15   4.60 ->  0.69
[ T034: x := a[ i % 16 + 1 ] = s ]____________________  3.17   4.67 ->  0.68
[ T035: x := a[ i % 16 + 1 ] >= s ]___________________  3.17   4.61 ->  0.69
[ T036: x := a[ i % 16 + 1 ] <= s ]___________________  3.12   4.64 ->  0.67
[ T037: x := a[ i % 16 + 1 ] < s ]____________________  3.12   4.69 ->  0.67
[ T038: x := a[ i % 16 + 1 ] > s ]____________________  3.10   4.57 ->  0.68
[ T039: ascan( a, i % 16 ) ]__________________________  3.07   3.08 ->  1.00
[ T042: x := a ]______________________________________  0.95   2.11 ->  0.45
[ T044: f0() ]________________________________________  1.56   2.56 ->  0.61
[ T045: f1( i ) ]_____________________________________  1.87   3.10 ->  0.60
[ T046: f2( c[1...8] ) ]______________________________  1.85   3.30 ->  0.56
[ T047: f2( c[1...40000] ) ]__________________________  1.85   3.27 ->  0.56
[ T048: f2( @c[1...40000] ) ]_________________________  1.95   3.33 ->  0.58
[ T049: f2( @c[1...40000] ), c2 := c ]________________  2.23   3.81 ->  0.59
[ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________  3.76   6.11 ->  0.62
[ T051: f2( a ) ]_____________________________________  1.86   3.35 ->  0.55
============================================================================
[   TOTAL   ]_________________________________________ 76.71 112.95 ->  0.68
============================================================================
[ total application time: ]...................................508.21        
[ total real time: ]..........................................189.67        

10/09/08 01:03:35 Linux 2.6.26.3-29.fc9.i686 i686
Harbour 1.1.0dev (Rev. 9564) (MT)+ GNU C 4.3 (32 bit)
THREADS: 8
N_LOOPS: 1000000
excluded tests: 029 030 023 025 027 040 041 043 052 053 019 022 031 032 054
                                                        1 th.  8 th.  factor
============================================================================
[ T001: x := L_C ]____________________________________  1.17   2.52 ->  0.46
[ T002: x := L_N ]____________________________________  1.28   1.87 ->  0.68
[ T003: x := L_D ]____________________________________  1.15   1.87 ->  0.62
[ T004: x := S_C ]____________________________________  1.16   3.08 ->  0.38
[ T005: x := S_N ]____________________________________  1.27   1.97 ->  0.64
[ T006: x := S_D ]____________________________________  1.33   1.93 ->  0.69
[ T007: x := M_C ]____________________________________  1.30   2.49 ->  0.52
[ T008: x := M_N ]____________________________________  1.40   2.02 ->  0.69
[ T009: x := M_D ]____________________________________  1.33   2.06 ->  0.64
[ T010: x := P_C ]____________________________________  1.24   2.11 ->  0.59
[ T011: x := P_N ]____________________________________  1.38   2.06 ->  0.67
[ T012: x := P_D ]____________________________________  1.24   2.07 ->  0.60
[ T013: x := F_C ]____________________________________  2.21   2.58 ->  0.86
[ T014: x := F_N ]____________________________________  2.52   1.82 ->  1.39
[ T015: x := F_D ]____________________________________  1.58   1.83 ->  0.87
[ T016: x := o:GenCode ]______________________________  2.46   3.05 ->  0.81
[ T017: x := o[8] ]___________________________________  1.77   2.76 ->  0.64
[ T018: round( i / 1000, 2 ) ]________________________  3.61   3.61 ->  1.00
[ T020: val( s ) ]____________________________________  3.10   3.00 ->  1.03
[ T021: val( a [ i % 16 + 1 ] ) ]_____________________  5.26   5.66 ->  0.93
[ T024: eval( bc := { || i % 16 } ) ]_________________  3.35   5.58 ->  0.60
[ T026: eval( bc := { |x| x % 16 }, i ) ]_____________  3.40   4.80 ->  0.71
[ T028: eval( bc := { |x| f1( x ) }, i ) ]____________  4.55   6.63 ->  0.69
[ T033: x := a[ i % 16 + 1 ] == s ]___________________  3.94   6.31 ->  0.62
[ T034: x := a[ i % 16 + 1 ] = s ]____________________  4.29   6.63 ->  0.65
[ T035: x := a[ i % 16 + 1 ] >= s ]___________________  4.15   6.40 ->  0.65
[ T036: x := a[ i % 16 + 1 ] <= s ]___________________  4.19   6.31 ->  0.66
[ T037: x := a[ i % 16 + 1 ] < s ]____________________  4.18   6.46 ->  0.65
[ T038: x := a[ i % 16 + 1 ] > s ]____________________  4.16   6.23 ->  0.67
[ T039: ascan( a, i % 16 ) ]__________________________  4.15   4.05 ->  1.02
[ T042: x := a ]______________________________________  1.35   2.96 ->  0.46
[ T044: f0() ]________________________________________  1.99   3.34 ->  0.60
[ T045: f1( i ) ]_____________________________________  2.56   4.16 ->  0.62
[ T046: f2( c[1...8] ) ]______________________________  2.57   4.32 ->  0.60
[ T047: f2( c[1...40000] ) ]__________________________  2.35   4.30 ->  0.55
[ T048: f2( @c[1...40000] ) ]_________________________  2.45   4.35 ->  0.56
[ T049: f2( @c[1...40000] ), c2 := c ]________________  2.95   5.14 ->  0.57
[ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________  5.16   8.27 ->  0.62
[ T051: f2( a ) ]_____________________________________  2.58   4.50 ->  0.57
============================================================================
[   TOTAL   ]_________________________________________102.10 151.09 ->  0.68
============================================================================
[ total application time: ]...................................697.02
[ total real time: ]..........................................253.21
[EMAIL PROTECTED] tests]$



-- 
"Ninety percent of politicians give the other 10 percent a bad name." -- Henry 
Kissinger
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to