1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm_ivar_set_subclass.yml
2020-12-16 10:29:48 +09:00

17 lines
245 B
YAML

prelude: |
class A
def initialize
@a = nil
@b = nil
@c = nil
@d = nil
@e = nil
end
end
class B < A; end
class C < A; end
benchmark:
vm_ivar_init_subclass: |
B.new
C.new
loop_count: 3000000