summaryrefslogtreecommitdiff
path: root/benchmark/vm1_gc_short_with_symbol.yml
blob: 7fc1abedd8a7ed44439638397d90abde9fead2e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
prelude: |
  50_000.times{|i| sym = "sym#{i}".to_sym}
  GC.start
  GC.start
benchmark:
  vm1_gc_short_with_symbol: |
    a = '' # short-lived String
    b = ''
    c = ''
    d = ''
    e = ''
    f = ''
loop_count: 30000000