ruby/benchmark/vm1_gc_short_with_symbol.yml

14 строки
225 B
YAML

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