summaryrefslogtreecommitdiff
path: root/benchmark/vm_gc_short_with_symbol.yml
blob: 129b8bf4ed2a17df5b1f6576f76ce1d31e7411f2 (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:
  vm_gc_short_with_symbol: |
    a = '' # short-lived String
    b = ''
    c = ''
    d = ''
    e = ''
    f = ''
loop_count: 30000000