Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mGIOm function name: (null) number of ops: 1 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 88 0 E > > RETURN 1 Class Benchmark\Measure: Function memorytick: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13 Branch analysis from position: 10 1 jumps found. (Code = 42) Position 1 = 15 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mGIOm function name: memoryTick number of ops: 22 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 15 0 E > INIT_NS_FCALL_BY_NAME 'Benchmark%5Cmemory_get_usage' 1 DO_FCALL 0 $1 2 FETCH_OBJ_R ~2 'memory' 3 SUB ~3 $1, ~2 4 ASSIGN_OBJ 'memory' 5 OP_DATA ~3 16 6 FETCH_OBJ_R ~5 'memory' 7 FETCH_OBJ_R ~6 'max' 8 IS_SMALLER ~6, ~5 9 > JMPZ ~7, ->13 10 > FETCH_OBJ_R ~8 'memory' 11 QM_ASSIGN ~9 ~8 12 > JMP ->15 13 > FETCH_OBJ_R ~10 'max' 14 QM_ASSIGN ~9 ~10 15 > ASSIGN_OBJ 'max' 16 OP_DATA ~9 17 17 INIT_NS_FCALL_BY_NAME 'Benchmark%5Cmemory_get_usage' 18 DO_FCALL 0 $12 19 ASSIGN_OBJ 'memory' 20 OP_DATA $12 18 21 > RETURN null End of function memorytick Function benchmarkmemory: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mGIOm function name: benchmarkMemory number of ops: 35 compiled vars: !0 = $function, !1 = $args line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 25 0 E > RECV !0 1 RECV_INIT !1 <array> 27 2 TICKS 28 3 INIT_NS_FCALL_BY_NAME 'Benchmark%5Cmemory_get_usage' 4 DO_FCALL 0 $3 5 ASSIGN_OBJ 'memory' 6 OP_DATA $3 7 TICKS 29 8 ASSIGN_OBJ 'max' 9 OP_DATA 0 10 TICKS 31 11 INIT_NS_FCALL_BY_NAME 'Benchmark%5Cregister_tick_function' 12 SEND_VAL_EX 'call_user_func' 13 FETCH_THIS ~5 14 INIT_ARRAY ~6 ~5 15 ADD_ARRAY_ELEMENT ~6 'memoryTick' 16 SEND_VAL_EX ~6 17 DO_FCALL 0 18 TICKS 32 19 INIT_METHOD_CALL 'measureFunction' 20 SEND_VAR_EX !0 21 SEND_VAR_EX !1 22 SEND_VAL_EX 1 23 DO_FCALL 0 24 TICKS 33 25 INIT_NS_FCALL_BY_NAME 'Benchmark%5Cunregister_tick_function' 26 SEND_VAL_EX 'call_user_func' 27 DO_FCALL 0 28 TICKS 35 29 FETCH_CLASS_CONSTANT ~10 'MEMORY_VALUE' 30 FETCH_OBJ_R ~11 'max' 31 INIT_ARRAY ~12 ~11, ~10 32 > RETURN ~12 33* TICKS 37 34* > RETURN null End of function benchmarkmemory Function benchmarktime: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mGIOm function name: benchmarkTime number of ops: 13 compiled vars: !0 = $function, !1 = $args, !2 = $count line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 46 0 E > RECV !0 1 RECV_INIT !1 <array> 2 RECV_INIT !2 1 48 3 INIT_METHOD_CALL 'benchmarkCustom' 4 SEND_VAL_EX 'microtime' 5 SEND_VAR_EX !0 6 SEND_VAL_EX <array> 7 SEND_VAR_EX !1 8 SEND_VAR_EX !2 9 DO_FCALL 0 $3 10 > RETURN $3 11* TICKS 49 12* > RETURN null End of function benchmarktime Function benchmarkcustom: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 47) Position 1 = 10, Position 2 = 12 Branch analysis from position: 10 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18 Branch analysis from position: 13 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 34 Branch analysis from position: 29 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 34 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 12 filename: /in/mGIOm function name: benchmarkCustom number of ops: 58 compiled vars: !0 = $benchmark, !1 = $function, !2 = $benchmarkArgs, !3 = $functionArgs, !4 = $count, !5 = $init, !6 = $end line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 61 0 E > RECV !0 1 RECV !1 2 RECV_INIT !2 <array> 3 RECV_INIT !3 <array> 4 RECV_INIT !4 1 63 5 INIT_NS_FCALL_BY_NAME 'Benchmark%5Cis_int' 6 SEND_VAR_EX !4 7 DO_FCALL 0 $7 8 BOOL_NOT ~8 $7 9 > JMPNZ_EX ~8 ~8, ->12 10 > IS_SMALLER_OR_EQUAL ~9 !4, 0 11 BOOL ~8 ~9 12 > > JMPZ ~8, ->18 65 13 > NEW $10 'InvalidArgumentException' 14 SEND_VAL_EX 'Count+of+measure+times+must+be+positive+integer' 15 DO_FCALL 0 16 > THROW 0 $10 17* TICKS 67 18 > INIT_NS_FCALL_BY_NAME 'Benchmark%5Ccall_user_func_array' 19 SEND_VAR_EX !0 20 SEND_VAR_EX !2 21 DO_FCALL 0 $12 22 ASSIGN !5, $12 23 TICKS 68 24 INIT_NS_FCALL_BY_NAME 'Benchmark%5Cis_numeric' 25 SEND_VAR_EX !5 26 DO_FCALL 0 $14 27 BOOL_NOT ~15 $14 28 > JMPZ ~15, ->34 70 29 > NEW $16 'LogicException' 30 SEND_VAL_EX 'Benchmark+function+must+return+valid+numeric+value' 31 DO_FCALL 0 32 > THROW 0 $16 33* TICKS 72 34 > INIT_METHOD_CALL 'measureFunction' 35 SEND_VAR_EX !1 36 SEND_VAR_EX !3 37 SEND_VAR_EX !4 38 DO_FCALL 0 39 TICKS 73 40 INIT_NS_FCALL_BY_NAME 'Benchmark%5Ccall_user_func_array' 41 SEND_VAR_EX !0 42 SEND_VAR_EX !2 43 DO_FCALL 0 $19 44 ASSIGN !6, $19 45 TICKS 75 46 FETCH_CLASS_CONSTANT ~21 'BENCHMARK_VALUE' 47 SUB ~22 !6, !5 48 INIT_ARRAY ~23 ~22, ~21 76 49 FETCH_CLASS_CONSTANT ~24 'BENCHMARK_AVERAGE' 50 SUB ~25 !6, !5 51 DIV ~26 ~25, !4 52 ADD_ARRAY_ELEMENT ~23 ~26, ~24 77 53 FETCH_CLASS_CONSTANT ~27 'BENCHMARK_COUNT' 54 ADD_ARRAY_ELEMENT ~23 !4, ~27 55 > RETURN ~23 56* TICKS 79 57* > RETURN null End of function benchmarkcustom Function measurefunction: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 12 Branch analysis from position: 12 2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 5 2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5 Branch analysis from position: 14 Branch analysis from position: 5 filename: /in/mGIOm function name: measureFunction number of ops: 16 compiled vars: !0 = $function, !1 = $args, !2 = $count, !3 = $i, !4 = $result line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 81 0 E > RECV !0 1 RECV !1 2 RECV !2 83 3 ASSIGN !3, 0 4 > JMP ->12 85 5 > INIT_NS_FCALL_BY_NAME 'Benchmark%5Ccall_user_func_array' 6 SEND_VAR_EX !0 7 SEND_VAR_EX !1 8 DO_FCALL 0 $6 9 ASSIGN !4, $6 10 TICKS 83 11 PRE_INC !3 12 > IS_SMALLER !3, !2 13 > JMPNZ ~9, ->5 14 > TICKS 87 15 > RETURN null End of function measurefunction End of class Benchmark\Measure.
Generated using Vulcan Logic Dumper, using php 8.0.0