From the huge difference between app time and real time, these look false measurements to me.
Brgds, Viktor On 2010 Mar 21, at 18:09, Petr Chornyj wrote: > >> From the "old" days, I use HB_HVM_ALL = yes to build the binary Harbor. But > today I got this result. > I'm surprised. It is expected results? > > 2010.03.21 16:18:55 Windows XP 5.1.2600 Service Pack 3 > Harbour 2.1.0dev (Rev. 14203) (MT)+ Microsoft Visual C++ 15.0.30729 (32-bit) > x86 > THREADS: 2 > N_LOOPS: 1000000 > > with HB_HVM_ALL=yes > > [ T000: empty loop overhead ]...................................0.22 > ==================================================================== > [ T001: x := L_C ]..............................................0.59 > [ T002: x := L_N ]..............................................0.47 > [ T003: x := L_D ]..............................................0.45 > [ T004: x := S_C ]..............................................0.58 > [ T005: x := S_N ]..............................................0.42 > [ T006: x := S_D ]..............................................0.45 > [ T007: x := M->M_C ]...........................................0.63 > [ T008: x := M->M_N ]...........................................0.47 > [ T009: x := M->M_D ]...........................................0.50 > [ T010: x := M->P_C ]...........................................0.63 > [ T011: x := M->P_N ]...........................................0.47 > [ T012: x := M->P_D ]...........................................0.50 > [ T013: x := F_C ]..............................................1.00 > [ T014: x := F_N ]..............................................0.88 > [ T015: x := F_D ]..............................................0.69 > [ T016: x := o:Args ]...........................................1.41 > [ T017: x := o[2] ].............................................0.78 > [ T018: round( i / 1000, 2 ) ]..................................1.61 > [ T019: str( i / 1000 ) ].......................................2.39 > [ T020: val( s ) ]..............................................1.48 > [ T021: val( a [ i % 16 + 1 ] ) ]...............................2.44 > [ T022: dtos( d - i % 10000 ) ].................................2.22 > [ T023: eval( { || i % 16 } ) ].................................2.70 > [ T024: eval( bc := { || i % 16 } ) ]...........................2.03 > [ T025: eval( { |x| x % 16 }, i ) ].............................2.67 > [ T026: eval( bc := { |x| x % 16 }, i ) ].......................2.20 > [ T027: eval( { |x| f1( x ) }, i ) ]............................3.44 > [ T028: eval( bc := { |x| f1( x ) }, i ) ]......................3.06 > [ T029: eval( bc := &("{ |x| f1( x ) }"), i ) ].................2.84 > [ T030: x := &( "f1(" + str(i) + ")" ) ].......................10.44 > [ T031: bc := &( "{|x|f1(x)}" ), eval( bc, i ) ]...............11.44 > [ T032: x := valtype( x ) + valtype( i ) ].....................2.75 > [ T033: x := strzero( i % 100, 2 ) $ a[ i % 16 + 1 ] ]..........3.95 > [ T034: x := a[ i % 16 + 1 ] == s ].............................2.02 > [ T035: x := a[ i % 16 + 1 ] = s ]..............................2.09 > [ T036: x := a[ i % 16 + 1 ] >= s ].............................2.08 > [ T037: x := a[ i % 16 + 1 ] <= s ].............................2.08 > [ T038: x := a[ i % 16 + 1 ] < s ]..............................2.09 > [ T039: x := a[ i % 16 + 1 ] > s ]..............................2.06 > [ T040: ascan( a, i % 16 ) ]....................................1.94 > [ T041: ascan( a, { |x| x == i % 16 } ) ]......................18.45 > [ T042: iif( i%1000==0, a:={}, ) , aadd(a,{i,1,.T.,s,s2,a2 ]....5.31 > [ T043: x := a ]................................................0.59 > [ T044: x := {} ]...............................................1.16 > [ T045: f0() ]..................................................1.09 > [ T046: f1( i ) ]...............................................1.34 > [ T047: f2( c[1...8] ) ]........................................1.47 > [ T048: f2( c[1...40000] ) ]....................................1.47 > [ T049: f2( @c[1...40000] ) ]...................................1.56 > [ T050: f2( @c[1...40000] ), c2 := c ]..........................1.92 > [ T051: f3( a, a2, s, i, s2, bc, i, n, x ) ]....................3.20 > [ T052: f2( a ) ]...............................................1.44 > [ T053: x := f4() ].............................................2.80 > [ T054: x := f5() ].............................................2.19 > [ T055: x := space(16) ]........................................1.44 > [ T056: f_prv( c ) ]............................................2.00 > ==================================================================== > [ total application time: ]....................................72.16 > [ total real time: ]...........................................37.16 > > > with HB_HVM_ALL=no > [ T000: empty loop overhead ]...................................0.13 > ==================================================================== > [ T001: x := L_C ]..............................................0.38 > [ T002: x := L_N ]..............................................0.31 > [ T003: x := L_D ]..............................................0.28 > [ T004: x := S_C ]..............................................0.36 > [ T005: x := S_N ]..............................................0.30 > [ T006: x := S_D ]..............................................0.28 > [ T007: x := M->M_C ]...........................................0.34 > [ T008: x := M->M_N ]...........................................0.28 > [ T009: x := M->M_D ]...........................................0.31 > [ T010: x := M->P_C ]...........................................0.38 > [ T011: x := M->P_N ]...........................................0.31 > [ T012: x := M->P_D ]...........................................0.31 > [ T013: x := F_C ]..............................................0.75 > [ T014: x := F_N ]..............................................0.70 > [ T015: x := F_D ]..............................................0.48 > [ T016: x := o:Args ]...........................................0.80 > [ T017: x := o[2] ].............................................0.58 > [ T018: round( i / 1000, 2 ) ]..................................1.08 > [ T019: str( i / 1000 ) ].......................................1.97 > [ T020: val( s ) ]..............................................0.98 > [ T021: val( a [ i % 16 + 1 ] ) ]...............................1.83 > [ T022: dtos( d - i % 10000 ) ].................................1.67 > [ T023: eval( { || i % 16 } ) ].................................2.47 > [ T024: eval( bc := { || i % 16 } ) ]...........................1.36 > [ T025: eval( { |x| x % 16 }, i ) ].............................2.13 > [ T026: eval( bc := { |x| x % 16 }, i ) ].......................1.33 > [ T027: eval( { |x| f1( x ) }, i ) ]............................2.16 > [ T028: eval( bc := { |x| f1( x ) }, i ) ]......................1.84 > [ T029: eval( bc := &("{ |x| f1( x ) }"), i ) ].................1.69 > [ T030: x := &( "f1(" + str(i) + ")" ) ]........................9.27 > [ T031: bc := &( "{|x|f1(x)}" ), eval( bc, i ) ]................9.63 > [ T032: x := valtype( x ) + valtype( i ) ].....................1.83 > [ T033: x := strzero( i % 100, 2 ) $ a[ i % 16 + 1 ] ]..........2.94 > [ T034: x := a[ i % 16 + 1 ] == s ].............................1.31 > [ T035: x := a[ i % 16 + 1 ] = s ]..............................1.41 > [ T036: x := a[ i % 16 + 1 ] >= s ].............................1.41 > [ T037: x := a[ i % 16 + 1 ] <= s ].............................1.41 > [ T038: x := a[ i % 16 + 1 ] < s ]..............................1.44 > [ T039: x := a[ i % 16 + 1 ] > s ]..............................1.41 > [ T040: ascan( a, i % 16 ) ]....................................1.42 > [ T041: ascan( a, { |x| x == i % 16 } ) ]......................12.47 > [ T042: iif( i%1000==0, a:={}, ) , aadd(a,{i,1,.T.,s,s2,a2 ]....4.13 > [ T043: x := a ]................................................0.41 > [ T044: x := {} ]...............................................0.95 > [ T045: f0() ]..................................................0.66 > [ T046: f1( i ) ]...............................................0.84 > [ T047: f2( c[1...8] ) ]........................................0.81 > [ T048: f2( c[1...40000] ) ]....................................0.84 > [ T049: f2( @c[1...40000] ) ]...................................0.78 > [ T050: f2( @c[1...40000] ), c2 := c ]..........................0.98 > [ T051: f3( a, a2, s, i, s2, bc, i, n, x ) ]....................1.73 > [ T052: f2( a ) ]...............................................0.84 > [ T053: x := f4() ].............................................2.03 > [ T054: x := f5() ].............................................1.41 > [ T055: x := space(16) ]........................................0.97 > [ T056: f_prv( c ) ]............................................1.52 > ==================================================================== > [ total application time: ]....................................50.17 > [ total real time: ]...........................................25.86 > > Regards, > Petr > > > > > -- > View this message in context: > http://old.nabble.com/About-HB_HVM_ALL-tp27977002p27977002.html > Sent from the Harbour - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour