ruby/benchmark/vm2_method_missing.yml

12 строки
192 B
YAML

prelude: |
class C
def method_missing mid
end
end
obj = C.new
benchmark:
vm2_method_missing: |
obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m; obj.m;
loop_count: 6000000