vm1_gc_short_with_symbol.yml   [plain text]


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