summaryrefslogtreecommitdiff
path: root/benchmark/vm_ivar_of_class_set.yml
blob: 2ea5199423b00881dfd659339d69d017ece96e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
prelude: |
  class C
    @a = 1
    def self.a o
      @a = o; @a = o; @a = o; @a = o; @a = o; @a = o;
    end
  end
benchmark:
  vm_ivar_of_class_set: |
    a = C.a(nil)
loop_count: 30000000