Added vm_ivar benchmark for initializing an embedded obj
This commit is contained in:
parent
0ab2bca11c
commit
af425b6d66
Notes:
git
2022-06-17 00:47:43 +09:00
|
@ -0,0 +1,12 @@
|
|||
prelude: |
|
||||
class C
|
||||
def initialize
|
||||
@a = nil
|
||||
@b = nil
|
||||
@c = nil
|
||||
end
|
||||
end
|
||||
benchmark:
|
||||
vm_ivar_embedded_obj_init: |
|
||||
C.new
|
||||
loop_count: 30000000
|
|
@ -9,6 +9,6 @@ prelude: |
|
|||
end
|
||||
end
|
||||
benchmark:
|
||||
vm_ivar_init: |
|
||||
vm_ivar_extended_obj_init: |
|
||||
C.new
|
||||
loop_count: 30000000
|
Loading…
Reference in New Issue