[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / vm_ivar_of_class_set.yml
blob2ea5199423b00881dfd659339d69d017ece96e79
1 prelude: |
2   class C
3     @a = 1
4     def self.a o
5       @a = o; @a = o; @a = o; @a = o; @a = o; @a = o;
6     end
7   end
8 benchmark:
9   vm_ivar_of_class_set: |
10     a = C.a(nil)
11 loop_count: 30000000