ruby/benchmark/vm_gc_short_with_symbol.yml

14 строки
224 B
YAML
Исходник Обычный вид История

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