On Tuesday 07 October 2008 06:28:18 am Przemyslaw Czerpak wrote: > rebuild Harbour with C_USR=-DHB_GUI
Didn't think it would get done, but here is the same test after the recompile. I'll do it once more without the -gc3 in a minute. Don't know if it will get done before I leave for work. [EMAIL PROTECTED] tests]$ for i in 1 2 4 6 8; do ./speedtst --exclude=mem --scale --thread=$i; done 10/07/08 08:16:56 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.10 0.08 -> 1.27 [ T002: x := L_N ]____________________________________ 0.07 0.07 -> 1.00 [ T003: x := L_D ]____________________________________ 0.07 0.07 -> 1.00 [ T004: x := S_C ]____________________________________ 0.10 0.10 -> 1.00 [ T005: x := S_N ]____________________________________ 0.09 0.09 -> 1.00 [ T006: x := S_D ]____________________________________ 0.09 0.09 -> 1.00 [ T007: x := M_C ]____________________________________ 0.11 0.11 -> 1.00 [ T008: x := M_N ]____________________________________ 0.10 0.10 -> 1.00 [ T009: x := M_D ]____________________________________ 0.10 0.10 -> 1.00 [ T010: x := P_C ]____________________________________ 0.11 0.11 -> 1.00 [ T011: x := P_N ]____________________________________ 0.10 0.10 -> 0.99 [ T012: x := P_D ]____________________________________ 0.10 0.10 -> 1.00 [ T013: x := F_C ]____________________________________ 0.26 0.22 -> 1.20 [ T014: x := F_N ]____________________________________ 0.27 0.27 -> 1.00 [ T015: x := F_D ]____________________________________ 0.14 0.14 -> 1.00 [ T016: x := o:GenCode ]______________________________ 0.24 0.24 -> 0.99 [ T017: x := o[8] ]___________________________________ 0.16 0.16 -> 1.00 [ T018: round( i / 1000, 2 ) ]________________________ 0.32 0.32 -> 1.00 [ T020: val( s ) ]____________________________________ 0.33 0.33 -> 1.00 [ T021: val( a [ i % 16 + 1 ] ) ]_____________________ 0.51 0.51 -> 1.00 [ T024: eval( bc := { || i % 16 } ) ]_________________ 0.39 0.40 -> 0.98 [ T026: eval( bc := { |x| x % 16 }, i ) ]_____________ 0.39 0.39 -> 1.00 [ T028: eval( bc := { |x| f1( x ) }, i ) ]____________ 0.45 0.45 -> 1.00 [ T033: x := a[ i % 16 + 1 ] == s ]___________________ 0.36 0.36 -> 1.00 [ T034: x := a[ i % 16 + 1 ] = s ]____________________ 0.42 0.39 -> 1.08 [ T035: x := a[ i % 16 + 1 ] >= s ]___________________ 0.40 0.40 -> 1.00 [ T036: x := a[ i % 16 + 1 ] <= s ]___________________ 0.42 0.39 -> 1.07 [ T037: x := a[ i % 16 + 1 ] < s ]____________________ 0.39 0.39 -> 1.00 [ T038: x := a[ i % 16 + 1 ] > s ]____________________ 0.39 0.39 -> 1.00 [ T039: ascan( a, i % 16 ) ]__________________________ 0.47 0.44 -> 1.08 [ T042: x := a ]______________________________________ 0.09 0.09 -> 1.00 [ T044: f0() ]________________________________________ 0.15 0.15 -> 1.00 [ T045: f1( i ) ]_____________________________________ 0.20 0.20 -> 1.00 [ T046: f2( c[1...8] ) ]______________________________ 0.20 0.20 -> 1.00 [ T047: f2( c[1...40000] ) ]__________________________ 0.20 0.20 -> 1.00 [ T048: f2( @c[1...40000] ) ]_________________________ 0.21 0.20 -> 1.07 [ T049: f2( @c[1...40000] ), c2 := c ]________________ 0.24 0.24 -> 1.00 [ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________ 0.45 0.51 -> 0.88 [ T051: f2( a ) ]_____________________________________ 0.21 0.20 -> 1.01 ============================================================================ [ TOTAL ]_________________________________________ 9.40 9.29 -> 1.01 ============================================================================ [ total application time: ]....................................18.58 [ total real time: ]...........................................18.69 10/07/08 08:17:15 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.19 0.09 -> 2.05 [ T002: x := L_N ]____________________________________ 0.15 0.08 -> 1.89 [ T003: x := L_D ]____________________________________ 0.16 0.07 -> 2.14 [ T004: x := S_C ]____________________________________ 0.21 0.26 -> 0.78 [ T005: x := S_N ]____________________________________ 0.19 0.10 -> 1.99 [ T006: x := S_D ]____________________________________ 0.20 0.10 -> 1.94 [ T007: x := M_C ]____________________________________ 0.24 0.12 -> 1.94 [ T008: x := M_N ]____________________________________ 0.22 0.10 -> 2.09 [ T009: x := M_D ]____________________________________ 0.23 0.12 -> 1.86 [ T010: x := P_C ]____________________________________ 0.22 0.11 -> 1.95 [ T011: x := P_N ]____________________________________ 0.21 0.10 -> 2.14 [ T012: x := P_D ]____________________________________ 0.21 0.12 -> 1.80 [ T013: x := F_C ]____________________________________ 0.46 0.27 -> 1.69 [ T014: x := F_N ]____________________________________ 0.56 0.28 -> 2.01 [ T015: x := F_D ]____________________________________ 0.32 0.16 -> 2.04 [ T016: x := o:GenCode ]______________________________ 0.48 0.24 -> 1.99 [ T017: x := o[8] ]___________________________________ 0.34 0.16 -> 2.06 [ T018: round( i / 1000, 2 ) ]________________________ 0.63 0.34 -> 1.88 [ T020: val( s ) ]____________________________________ 0.66 0.33 -> 2.01 [ T021: val( a [ i % 16 + 1 ] ) ]_____________________ 1.04 0.52 -> 1.99 [ T024: eval( bc := { || i % 16 } ) ]_________________ 0.80 0.56 -> 1.43 [ T026: eval( bc := { |x| x % 16 }, i ) ]_____________ 0.77 0.55 -> 1.40 [ T028: eval( bc := { |x| f1( x ) }, i ) ]____________ 0.92 0.64 -> 1.43 [ T033: x := a[ i % 16 + 1 ] == s ]___________________ 0.73 0.36 -> 2.01 [ T034: x := a[ i % 16 + 1 ] = s ]____________________ 0.79 0.40 -> 1.98 [ T035: x := a[ i % 16 + 1 ] >= s ]___________________ 0.82 0.42 -> 1.97 [ T036: x := a[ i % 16 + 1 ] <= s ]___________________ 0.79 0.40 -> 2.00 [ T037: x := a[ i % 16 + 1 ] < s ]____________________ 0.78 0.39 -> 2.01 [ T038: x := a[ i % 16 + 1 ] > s ]____________________ 0.80 0.40 -> 2.00 [ T039: ascan( a, i % 16 ) ]__________________________ 0.88 0.47 -> 1.85 [ T042: x := a ]______________________________________ 0.18 0.09 -> 2.03 [ T044: f0() ]________________________________________ 0.33 0.16 -> 2.03 [ T045: f1( i ) ]_____________________________________ 0.42 0.20 -> 2.10 [ T046: f2( c[1...8] ) ]______________________________ 0.40 0.21 -> 1.94 [ T047: f2( c[1...40000] ) ]__________________________ 0.40 0.22 -> 1.79 [ T048: f2( @c[1...40000] ) ]_________________________ 0.40 0.21 -> 1.95 [ T049: f2( @c[1...40000] ), c2 := c ]________________ 0.49 0.25 -> 1.99 [ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________ 0.93 0.46 -> 2.03 [ T051: f2( a ) ]_____________________________________ 0.42 0.23 -> 1.81 ============================================================================ [ TOTAL ]_________________________________________ 18.97 10.30 -> 1.84 ============================================================================ [ total application time: ]....................................39.00 [ total real time: ]...........................................29.28 10/07/08 08:17:44 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.38 0.11 -> 3.53 [ T002: x := L_N ]____________________________________ 0.27 0.09 -> 2.88 [ T003: x := L_D ]____________________________________ 0.28 0.09 -> 3.09 [ T004: x := S_C ]____________________________________ 0.40 0.49 -> 0.81 [ T005: x := S_N ]____________________________________ 0.36 0.11 -> 3.20 [ T006: x := S_D ]____________________________________ 0.36 0.10 -> 3.54 [ T007: x := M_C ]____________________________________ 0.47 0.22 -> 2.12 [ T008: x := M_N ]____________________________________ 0.39 0.12 -> 3.19 [ T009: x := M_D ]____________________________________ 0.40 0.11 -> 3.53 [ T010: x := P_C ]____________________________________ 0.45 0.12 -> 3.85 [ T011: x := P_N ]____________________________________ 0.41 0.12 -> 3.42 [ T012: x := P_D ]____________________________________ 0.40 0.12 -> 3.35 [ T013: x := F_C ]____________________________________ 0.97 0.32 -> 3.06 [ T014: x := F_N ]____________________________________ 1.12 0.29 -> 3.91 [ T015: x := F_D ]____________________________________ 0.59 0.16 -> 3.60 [ T016: x := o:GenCode ]______________________________ 0.94 0.25 -> 3.75 [ T017: x := o[8] ]___________________________________ 0.64 0.18 -> 3.55 [ T018: round( i / 1000, 2 ) ]________________________ 1.28 0.33 -> 3.85 [ T020: val( s ) ]____________________________________ 1.42 0.34 -> 4.13 [ T021: val( a [ i % 16 + 1 ] ) ]_____________________ 2.07 0.54 -> 3.85 [ T024: eval( bc := { || i % 16 } ) ]_________________ 1.58 1.22 -> 1.29 [ T026: eval( bc := { |x| x % 16 }, i ) ]_____________ 1.50 0.99 -> 1.51 [ T028: eval( bc := { |x| f1( x ) }, i ) ]____________ 1.83 1.11 -> 1.65 [ T033: x := a[ i % 16 + 1 ] == s ]___________________ 1.53 0.42 -> 3.64 [ T034: x := a[ i % 16 + 1 ] = s ]____________________ 1.58 0.50 -> 3.18 [ T035: x := a[ i % 16 + 1 ] >= s ]___________________ 1.66 0.42 -> 3.91 [ T036: x := a[ i % 16 + 1 ] <= s ]___________________ 1.58 0.48 -> 3.32 [ T037: x := a[ i % 16 + 1 ] < s ]____________________ 1.61 0.49 -> 3.30 [ T038: x := a[ i % 16 + 1 ] > s ]____________________ 1.60 0.48 -> 3.31 [ T039: ascan( a, i % 16 ) ]__________________________ 1.86 0.45 -> 4.09 [ T042: x := a ]______________________________________ 0.37 0.11 -> 3.27 [ T044: f0() ]________________________________________ 0.62 0.17 -> 3.59 [ T045: f1( i ) ]_____________________________________ 0.78 0.22 -> 3.55 [ T046: f2( c[1...8] ) ]______________________________ 0.79 0.22 -> 3.52 [ T047: f2( c[1...40000] ) ]__________________________ 0.79 0.21 -> 3.74 [ T048: f2( @c[1...40000] ) ]_________________________ 0.78 0.21 -> 3.67 [ T049: f2( @c[1...40000] ), c2 := c ]________________ 0.95 0.26 -> 3.67 [ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________ 1.80 0.61 -> 2.96 [ T051: f2( a ) ]_____________________________________ 0.83 0.23 -> 3.60 ============================================================================ [ TOTAL ]_________________________________________ 37.65 13.05 -> 2.88 ============================================================================ [ total application time: ]....................................86.95 [ total real time: ]...........................................50.71 10/07/08 08:18:35 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.59 0.24 -> 2.52 [ T002: x := L_N ]____________________________________ 0.49 0.14 -> 3.62 [ T003: x := L_D ]____________________________________ 0.53 0.16 -> 3.29 [ T004: x := S_C ]____________________________________ 0.65 0.74 -> 0.88 [ T005: x := S_N ]____________________________________ 0.55 0.19 -> 2.87 [ T006: x := S_D ]____________________________________ 0.54 0.18 -> 3.03 [ T007: x := M_C ]____________________________________ 0.70 0.22 -> 3.19 [ T008: x := M_N ]____________________________________ 0.68 0.21 -> 3.29 [ T009: x := M_D ]____________________________________ 0.67 0.19 -> 3.61 [ T010: x := P_C ]____________________________________ 0.64 0.22 -> 2.91 [ T011: x := P_N ]____________________________________ 0.63 0.19 -> 3.34 [ T012: x := P_D ]____________________________________ 0.62 0.21 -> 2.91 [ T013: x := F_C ]____________________________________ 1.48 0.48 -> 3.05 [ T014: x := F_N ]____________________________________ 1.72 0.48 -> 3.61 [ T015: x := F_D ]____________________________________ 0.90 0.25 -> 3.67 [ T016: x := o:GenCode ]______________________________ 1.58 0.46 -> 3.42 [ T017: x := o[8] ]___________________________________ 1.05 0.29 -> 3.67 [ T018: round( i / 1000, 2 ) ]________________________ 1.99 0.52 -> 3.81 [ T020: val( s ) ]____________________________________ 2.05 0.62 -> 3.32 [ T021: val( a [ i % 16 + 1 ] ) ]_____________________ 3.21 0.82 -> 3.90 [ T024: eval( bc := { || i % 16 } ) ]_________________ 2.38 1.85 -> 1.28 [ T026: eval( bc := { |x| x % 16 }, i ) ]_____________ 2.35 1.55 -> 1.52 [ T028: eval( bc := { |x| f1( x ) }, i ) ]____________ 2.75 1.66 -> 1.66 [ T033: x := a[ i % 16 + 1 ] == s ]___________________ 2.29 0.64 -> 3.58 [ T034: x := a[ i % 16 + 1 ] = s ]____________________ 2.42 0.80 -> 3.04 [ T035: x := a[ i % 16 + 1 ] >= s ]___________________ 2.55 0.80 -> 3.17 [ T036: x := a[ i % 16 + 1 ] <= s ]___________________ 2.40 0.83 -> 2.89 [ T037: x := a[ i % 16 + 1 ] < s ]____________________ 2.37 0.72 -> 3.29 [ T038: x := a[ i % 16 + 1 ] > s ]____________________ 2.37 0.76 -> 3.10 [ T039: ascan( a, i % 16 ) ]__________________________ 2.69 0.79 -> 3.42 [ T042: x := a ]______________________________________ 0.56 0.18 -> 3.04 [ T044: f0() ]________________________________________ 1.05 0.31 -> 3.36 [ T045: f1( i ) ]_____________________________________ 1.23 0.38 -> 3.23 [ T046: f2( c[1...8] ) ]______________________________ 1.25 0.34 -> 3.70 [ T047: f2( c[1...40000] ) ]__________________________ 1.28 0.37 -> 3.45 [ T048: f2( @c[1...40000] ) ]_________________________ 1.33 0.39 -> 3.40 [ T049: f2( @c[1...40000] ), c2 := c ]________________ 1.45 0.41 -> 3.54 [ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________ 2.78 0.91 -> 3.05 [ T051: f2( a ) ]_____________________________________ 1.33 0.37 -> 3.57 ============================================================================ [ TOTAL ]_________________________________________ 58.10 20.87 -> 2.78 ============================================================================ [ total application time: ]...................................132.26 [ total real time: ]...........................................78.97 10/07/08 08:19:54 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 ]____________________________________ 0.80 0.35 -> 2.30 [ T002: x := L_N ]____________________________________ 0.55 0.20 -> 2.71 [ T003: x := L_D ]____________________________________ 0.58 0.16 -> 3.60 [ T004: x := S_C ]____________________________________ 0.92 0.99 -> 0.93 [ T005: x := S_N ]____________________________________ 0.75 0.20 -> 3.78 [ T006: x := S_D ]____________________________________ 0.78 0.23 -> 3.39 [ T007: x := M_C ]____________________________________ 1.04 0.37 -> 2.81 [ T008: x := M_N ]____________________________________ 0.84 0.28 -> 2.98 [ T009: x := M_D ]____________________________________ 0.90 0.24 -> 3.75 [ T010: x := P_C ]____________________________________ 0.88 0.25 -> 3.46 [ T011: x := P_N ]____________________________________ 0.91 0.23 -> 3.92 [ T012: x := P_D ]____________________________________ 0.84 0.24 -> 3.54 [ T013: x := F_C ]____________________________________ 2.11 0.54 -> 3.94 [ T014: x := F_N ]____________________________________ 2.30 0.60 -> 3.83 [ T015: x := F_D ]____________________________________ 1.29 0.33 -> 3.88 [ T016: x := o:GenCode ]______________________________ 2.01 0.62 -> 3.26 [ T017: x := o[8] ]___________________________________ 1.50 0.39 -> 3.83 [ T018: round( i / 1000, 2 ) ]________________________ 2.48 0.73 -> 3.42 [ T020: val( s ) ]____________________________________ 2.73 0.73 -> 3.73 [ T021: val( a [ i % 16 + 1 ] ) ]_____________________ 4.16 1.13 -> 3.69 [ T024: eval( bc := { || i % 16 } ) ]_________________ 3.35 2.49 -> 1.35 [ T026: eval( bc := { |x| x % 16 }, i ) ]_____________ 3.06 1.96 -> 1.56 [ T028: eval( bc := { |x| f1( x ) }, i ) ]____________ 3.64 2.20 -> 1.65 [ T033: x := a[ i % 16 + 1 ] == s ]___________________ 3.16 0.89 -> 3.54 [ T034: x := a[ i % 16 + 1 ] = s ]____________________ 3.20 0.94 -> 3.42 [ T035: x := a[ i % 16 + 1 ] >= s ]___________________ 3.48 0.97 -> 3.61 [ T036: x := a[ i % 16 + 1 ] <= s ]___________________ 3.27 0.91 -> 3.61 [ T037: x := a[ i % 16 + 1 ] < s ]____________________ 3.21 0.91 -> 3.51 [ T038: x := a[ i % 16 + 1 ] > s ]____________________ 3.22 0.99 -> 3.24 [ T039: ascan( a, i % 16 ) ]__________________________ 3.54 0.94 -> 3.76 [ T042: x := a ]______________________________________ 0.78 0.20 -> 3.87 [ T044: f0() ]________________________________________ 1.34 0.37 -> 3.63 [ T045: f1( i ) ]_____________________________________ 1.74 0.43 -> 4.02 [ T046: f2( c[1...8] ) ]______________________________ 1.68 0.46 -> 3.67 [ T047: f2( c[1...40000] ) ]__________________________ 1.77 0.47 -> 3.73 [ T048: f2( @c[1...40000] ) ]_________________________ 1.74 0.48 -> 3.59 [ T049: f2( @c[1...40000] ), c2 := c ]________________ 1.98 0.61 -> 3.26 [ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________ 3.73 1.14 -> 3.28 [ T051: f2( a ) ]_____________________________________ 1.69 0.48 -> 3.51 ============================================================================ [ TOTAL ]_________________________________________ 77.95 26.65 -> 2.92 ============================================================================ [ total application time: ]...................................176.80 [ total real time: ]..........................................104.62 -- "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