|
| 1 | +{module, 'Elixir.Bench'}. %% version = 0 |
| 2 | + |
| 3 | +{exports, [{'__info__',1}, |
| 4 | + {foo,1}, |
| 5 | + {local,1}, |
| 6 | + {module,1}, |
| 7 | + {module_info,0}, |
| 8 | + {module_info,1}]}. |
| 9 | + |
| 10 | +{attributes, []}. |
| 11 | + |
| 12 | +{labels, 22}. |
| 13 | + |
| 14 | + |
| 15 | +{function, '__info__', 1, 2}. |
| 16 | + {label,1}. |
| 17 | + {line,[]}. |
| 18 | + {func_info,{atom,'Elixir.Bench'},{atom,'__info__'},1}. |
| 19 | + {label,2}. |
| 20 | + {select_val,{x,0}, |
| 21 | + {f,9}, |
| 22 | + {list,[{atom,attributes}, |
| 23 | + {f,8}, |
| 24 | + {atom,compile}, |
| 25 | + {f,8}, |
| 26 | + {atom,deprecated}, |
| 27 | + {f,7}, |
| 28 | + {atom,exports_md5}, |
| 29 | + {f,6}, |
| 30 | + {atom,functions}, |
| 31 | + {f,5}, |
| 32 | + {atom,macros}, |
| 33 | + {f,7}, |
| 34 | + {atom,md5}, |
| 35 | + {f,8}, |
| 36 | + {atom,module}, |
| 37 | + {f,4}, |
| 38 | + {atom,struct}, |
| 39 | + {f,3}]}}. |
| 40 | + {label,3}. |
| 41 | + {move,{atom,nil},{x,0}}. |
| 42 | + return. |
| 43 | + {label,4}. |
| 44 | + {move,{atom,'Elixir.Bench'},{x,0}}. |
| 45 | + return. |
| 46 | + {label,5}. |
| 47 | + {move,{literal,[{foo,1},{local,1},{module,1}]},{x,0}}. |
| 48 | + return. |
| 49 | + {label,6}. |
| 50 | + {move,{literal,<<249,220,148,233,109,149,24,191,155,116,221,51,167,22,151, |
| 51 | + 183>>}, |
| 52 | + {x,0}}. |
| 53 | + return. |
| 54 | + {label,7}. |
| 55 | + {move,nil,{x,0}}. |
| 56 | + return. |
| 57 | + {label,8}. |
| 58 | + {move,{x,0},{x,1}}. |
| 59 | + {move,{atom,'Elixir.Bench'},{x,0}}. |
| 60 | + {call_ext_only,2,{extfunc,erlang,get_module_info,2}}. |
| 61 | + {label,9}. |
| 62 | + {call_only,1,{f,21}}. % '-inlined-__info__/1-'/1 |
| 63 | + |
| 64 | + |
| 65 | +{function, foo, 1, 11}. |
| 66 | + {label,10}. |
| 67 | + {line,[{location,"bench/local_vs_module.exs",15}]}. |
| 68 | + {func_info,{atom,'Elixir.Bench'},{atom,foo},1}. |
| 69 | + {label,11}. |
| 70 | + {gc_bif,'+',{f,0},1,[{x,0},{integer,1}],{x,0}}. |
| 71 | + return. |
| 72 | + |
| 73 | + |
| 74 | +{function, local, 1, 13}. |
| 75 | + {label,12}. |
| 76 | + {line,[{location,"bench/local_vs_module.exs",11}]}. |
| 77 | + {func_info,{atom,'Elixir.Bench'},{atom,local},1}. |
| 78 | + {label,13}. |
| 79 | + {test_heap,{alloc,[{words,0},{floats,0},{funs,1}]},1}. |
| 80 | + {make_fun3,{f,11},0,0,{x,1},{list,[]}}. |
| 81 | + {'%',{var_info,{x,1},[{fun_type,{t_number,any}}]}}. |
| 82 | + {line,[{location,"bench/local_vs_module.exs",12}]}. |
| 83 | + {call_ext_only,2,{extfunc,'Elixir.Enum',each,2}}. |
| 84 | + |
| 85 | + |
| 86 | +{function, module, 1, 15}. |
| 87 | + {label,14}. |
| 88 | + {line,[{location,"bench/local_vs_module.exs",7}]}. |
| 89 | + {func_info,{atom,'Elixir.Bench'},{atom,module},1}. |
| 90 | + {label,15}. |
| 91 | + {move,{literal,fun 'Elixir.Foo':foo/1},{x,1}}. |
| 92 | + {line,[{location,"bench/local_vs_module.exs",8}]}. |
| 93 | + {call_ext_only,2,{extfunc,'Elixir.Enum',each,2}}. |
| 94 | + |
| 95 | + |
| 96 | +{function, module_info, 0, 17}. |
| 97 | + {label,16}. |
| 98 | + {line,[]}. |
| 99 | + {func_info,{atom,'Elixir.Bench'},{atom,module_info},0}. |
| 100 | + {label,17}. |
| 101 | + {move,{atom,'Elixir.Bench'},{x,0}}. |
| 102 | + {call_ext_only,1,{extfunc,erlang,get_module_info,1}}. |
| 103 | + |
| 104 | + |
| 105 | +{function, module_info, 1, 19}. |
| 106 | + {label,18}. |
| 107 | + {line,[]}. |
| 108 | + {func_info,{atom,'Elixir.Bench'},{atom,module_info},1}. |
| 109 | + {label,19}. |
| 110 | + {move,{x,0},{x,1}}. |
| 111 | + {move,{atom,'Elixir.Bench'},{x,0}}. |
| 112 | + {call_ext_only,2,{extfunc,erlang,get_module_info,2}}. |
| 113 | + |
| 114 | + |
| 115 | +{function, '-inlined-__info__/1-', 1, 21}. |
| 116 | + {label,20}. |
| 117 | + {line,[]}. |
| 118 | + {func_info,{atom,'Elixir.Bench'},{atom,'-inlined-__info__/1-'},1}. |
| 119 | + {label,21}. |
| 120 | + {jump,{f,20}}. |
0 commit comments