Przemyslaw, here my numbers with latest speedtst.prg and with my older one (sp.log), to see if spinlocks give better numbers.
New speedtst with --thread=2 --scale Best regards. Maurilio. David Arturo Macias Corona wrote: > Below are results of > > [E:\harbour809mt\harbour\tests]..\bin\hbrun_mt.exe speedtst.prg > --thread=2 --scale --exclude=mem > > Strange results, or I am confused ? > factor are around 2 (total 1.90) but computer is SINGLE CPU > > AMD Athlon 2200+ 2.0 Ghz, 1 Gb RAM > > David Macias > > > 10/06/08 07:08:33 OS/2 4.50 > Harbour 1.1.0dev (Rev. 9557) (MT)+ EMX GNU C 3.3.5 (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 ]____________________________________ 1.74 0.79 -> > 2.20 > [ T002: x := L_N ]____________________________________ 1.84 0.79 -> > 2.32 > [ T003: x := L_D ]____________________________________ 2.90 2.17 -> > 1.34 > [ T004: x := S_C ]____________________________________ 1.63 0.83 -> > 1.96 > [ T005: x := S_N ]____________________________________ 1.53 0.79 -> > 1.95 > [ T006: x := S_D ]____________________________________ 1.53 0.79 -> > 1.94 > [ T007: x := M_C ]____________________________________ 1.52 0.80 -> > 1.91 > [ T008: x := M_N ]____________________________________ 1.51 0.79 -> > 1.90 > [ T009: x := M_D ]____________________________________ 1.54 0.79 -> > 1.96 > [ T010: x := P_C ]____________________________________ 1.79 0.76 -> > 2.37 > [ T011: x := P_N ]____________________________________ 1.57 0.78 -> > 2.00 > [ T012: x := P_D ]____________________________________ 1.39 0.79 -> > 1.75 > [ T013: x := F_C ]____________________________________ 3.21 3.07 -> > 1.05 > [ T014: x := F_N ]____________________________________ 3.30 1.74 -> > 1.89 > [ T015: x := F_D ]____________________________________ 1.71 0.95 -> > 1.81 > [ T016: x := o:GenCode ]______________________________ 2.97 1.67 -> > 1.78 > [ T017: x := o[8] ]___________________________________ 2.84 1.28 -> > 2.23 > [ T018: round( i / 1000, 2 ) ]________________________ 3.80 2.02 -> > 1.88 > [ T020: val( s ) ]____________________________________ 3.58 2.06 -> > 1.74 > [ T021: val( a [ i % 16 + 1 ] ) ]_____________________ 6.21 3.29 -> > 1.89 > [ T024: eval( bc := { || i % 16 } ) ]_________________ 3.98 1.78 -> > 2.23 > [ T026: eval( bc := { |x| x % 16 }, i ) ]_____________ 3.97 2.06 -> > 1.93 > [ T028: eval( bc := { |x| f1( x ) }, i ) ]____________ 5.51 2.59 -> > 2.13 > [ T033: x := a[ i % 16 + 1 ] == s ]___________________ 4.68 2.49 -> > 1.87 > [ T034: x := a[ i % 16 + 1 ] = s ]____________________ 5.55 2.81 -> > 1.97 > [ T035: x := a[ i % 16 + 1 ] >= s ]___________________ 5.78 2.72 -> > 2.12 > [ T036: x := a[ i % 16 + 1 ] <= s ]___________________ 5.56 2.92 -> > 1.91 > [ T037: x := a[ i % 16 + 1 ] < s ]____________________ 5.48 2.76 -> > 1.99 > [ T038: x := a[ i % 16 + 1 ] > s ]____________________ 5.38 2.72 -> > 1.98 > [ T039: ascan( a, i % 16 ) ]__________________________ 6.33 3.21 -> > 1.98 > [ T042: x := a ]______________________________________ 1.51 0.82 -> > 1.85 > [ T044: f0() ]________________________________________ 2.59 1.53 -> > 1.69 > [ T045: f1( i ) ]_____________________________________ 3.17 1.66 -> > 1.92 > [ T046: f2( c[1...8] ) ]______________________________ 3.39 1.67 -> > 2.03 > [ T047: f2( c[1...40000] ) ]__________________________ 3.20 1.58 -> > 2.03 > [ T048: f2( @c[1...40000] ) ]_________________________ 2.56 1.53 -> > 1.67 > [ T049: f2( @c[1...40000] ), c2 := c ]________________ 4.25 2.06 -> > 2.07 > [ T050: f3( a, a2, s, i, s2, bc, i, n, x ) ]__________ 6.33 3.28 -> > 1.93 > [ T051: f2( a ) ]_____________________________________ 3.02 1.62 -> > 1.87 > ============================================================================ > > [ TOTAL ]_________________________________________130.34 68.73 -> > 1.90 > ============================================================================ > > [ total application time: ]...................................260.81 > [ total real time: ]..........................................260.81 > > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l.
speedtst.log
Description: application/log
sp.log
Description: application/log
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour